public class JaxbContent extends Object implements org.kie.api.task.model.Content
| Constructor and Description |
|---|
JaxbContent() |
JaxbContent(org.kie.api.task.model.Content content) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent() |
Map<String,Object> |
getContentMap() |
Long |
getId() |
byte[] |
getSerializedContent() |
void |
initialize(org.kie.api.task.model.Content content) |
void |
readExternal(ObjectInput in) |
void |
setContentMap(Map<String,Object> map) |
void |
setId(Long id) |
void |
setSerializedContent(byte[] content) |
void |
writeExternal(ObjectOutput out) |
public JaxbContent()
public JaxbContent(org.kie.api.task.model.Content content)
public void initialize(org.kie.api.task.model.Content content)
public byte[] getContent()
getContent in interface org.kie.api.task.model.Contentpublic byte[] getSerializedContent()
public void setSerializedContent(byte[] content)
public Long getId()
getId in interface org.kie.api.task.model.Contentpublic void setId(Long id)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.