public class ManagedObjectFlowMetaDataImpl<F extends Enum<F>> extends Object implements ManagedObjectFlowMetaData<F>
ManagedObjectFlowMetaData
implementation.Constructor and Description |
---|
ManagedObjectFlowMetaDataImpl(F key,
Class<?> argumentType)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getArgumentType()
Obtains the
Class of the argument that is passed to the
JobSequence . |
F |
getKey()
Obtains the
Enum key identifying this JobSequence . |
String |
getLabel()
Provides a descriptive name for this
JobSequence . |
void |
setLabel(String label)
Specifies a label to describe the
JobSequence . |
public ManagedObjectFlowMetaDataImpl(F key, Class<?> argumentType)
key
- Key identifying the JobSequence
.argumentType
- Type of argument passed to the JobSequence
.public void setLabel(String label)
JobSequence
.label
- Label to describe the JobSequence
.public F getKey()
ManagedObjectFlowMetaData
Enum
key identifying this JobSequence
. If
null
then JobSequence
will be referenced by this instance's
index in the array returned from ManagedObjectSourceMetaData
.getKey
in interface ManagedObjectFlowMetaData<F extends Enum<F>>
Enum
key identifying the JobSequence
or
null
indicating identified by an index.public Class<?> getArgumentType()
ManagedObjectFlowMetaData
Obtains the Class
of the argument that is passed to the
JobSequence
.
This may be null
to indicate no argument is passed.
getArgumentType
in interface ManagedObjectFlowMetaData<F extends Enum<F>>
JobSequence
.public String getLabel()
ManagedObjectFlowMetaData
JobSequence
. This is useful to
better describe the JobSequence
.getLabel
in interface ManagedObjectFlowMetaData<F extends Enum<F>>
JobSequence
.Copyright © 2005–2016. All rights reserved.