public class TaskObjectConfigurationImpl<D extends Enum<D>> extends Object implements TaskObjectConfiguration<D>
TaskObjectConfiguration
implementation.Constructor and Description |
---|
TaskObjectConfigurationImpl(boolean isParameter,
String scopeManagedObjectName,
Class<?> objectType,
int index,
D key)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Obtains the index identifying the dependent
Object . |
D |
getKey()
Obtains the key identifying the dependent
Object . |
Class<?> |
getObjectType()
|
String |
getScopeManagedObjectName()
Obtains the name of the
ManagedObject within the
ManagedObjectScope . |
boolean |
isParameter()
|
public TaskObjectConfigurationImpl(boolean isParameter, String scopeManagedObjectName, Class<?> objectType, int index, D key)
isParameter
- Indicates if a parameter.scopeManagedObjectName
- Name of ManagedObject
within the
ManagedObjectScope
.objectType
- Type required of the dependent Object
.index
- Index of this Object
.key
- Key of this Object
.public boolean isParameter()
TaskObjectConfiguration
isParameter
in interface TaskObjectConfiguration<D extends Enum<D>>
true
if is argument passed to the Task
.
false
indicates it is a ManagedObject
dependency.public String getScopeManagedObjectName()
TaskObjectConfiguration
Obtains the name of the ManagedObject
within the
ManagedObjectScope
.
This must return a value if not a parameter.
getScopeManagedObjectName
in interface TaskObjectConfiguration<D extends Enum<D>>
ManagedObject
within the
ManagedObjectScope
.public Class<?> getObjectType()
TaskObjectConfiguration
getObjectType
in interface TaskObjectConfiguration<D extends Enum<D>>
Object
required by the Task
.public int getIndex()
TaskObjectConfiguration
Object
.public D getKey()
TaskObjectConfiguration
Object
.Copyright © 2005–2016. All rights reserved.