public class BOM extends Object
| Modifier and Type | Field and Description |
|---|---|
Specification |
spec |
| Constructor and Description |
|---|
BOM() |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
getMetadata() |
Specification |
getSpec() |
Specification |
getStatus() |
static BOM |
load(Class<?> clazz,
String resource) |
static BOM |
load(File configPath) |
static BOM |
load(InputStream istream) |
void |
setMetadata(Metadata metadata) |
void |
setSpec(Specification spec) |
void |
setStatus(Specification status) |
void |
write(File configPath) |
void |
write(OutputStream ostream) |
@Nonnull public Specification spec
public void setMetadata(@CheckForNull Metadata metadata)
public void setSpec(@Nonnull Specification spec)
public void setStatus(@CheckForNull Specification status)
@CheckForNull public Metadata getMetadata()
@Nonnull public Specification getSpec()
@CheckForNull public Specification getStatus()
public void write(@Nonnull File configPath) throws IOException
IOExceptionpublic void write(@Nonnull OutputStream ostream) throws IOException
IOExceptionpublic static BOM load(@Nonnull File configPath) throws IOException
IOExceptionpublic static BOM load(@Nonnull InputStream istream) throws IOException
IOExceptionpublic static BOM load(Class<?> clazz, String resource) throws IOException
IOExceptionCopyright © 2004–2018. All rights reserved.