public class SimpleProcessable extends java.lang.Object implements Processable
Modifier and Type | Field and Description |
---|---|
int |
processingFlags |
java.lang.Object |
processingInfo |
Constructor and Description |
---|
SimpleProcessable()
Creates an uninitialized SimpleProcessable.
|
SimpleProcessable(int processingFlags,
java.lang.Object processingInfo)
Creates an initialized SimpleProcessable.
|
Modifier and Type | Method and Description |
---|---|
void |
addProcessingFlags(int... flags)
Adds all given flags to this processable.
|
int |
getProcessingFlags()
Returns the processing flags.
|
java.lang.Object |
getProcessingInfo()
Gets the processing information.
|
boolean |
hasProcessingFlags(int... flags)
Checks whether all the given flags are set on this processable.
|
void |
removeProcessingFlags(int... flags)
Removes all given flags from this processable.
|
void |
setProcessingFlags(int processingFlags)
Sets the processing flags.
|
void |
setProcessingInfo(java.lang.Object processingInfo)
Sets the processing information.
|
public int processingFlags
public java.lang.Object processingInfo
public SimpleProcessable()
public SimpleProcessable(int processingFlags, java.lang.Object processingInfo)
public int getProcessingFlags()
Processable
getProcessingFlags
in interface Processable
public void setProcessingFlags(int processingFlags)
Processable
setProcessingFlags
in interface Processable
public void addProcessingFlags(int... flags)
public void removeProcessingFlags(int... flags)
public boolean hasProcessingFlags(int... flags)
public java.lang.Object getProcessingInfo()
Processable
getProcessingInfo
in interface Processable
public void setProcessingInfo(java.lang.Object processingInfo)
Processable
setProcessingInfo
in interface Processable