public class TaskDutyConfigurationImpl<A extends Enum<A>> extends Object implements TaskDutyConfiguration<A>
TaskDutyConfiguration
implementation.Constructor and Description |
---|
TaskDutyConfigurationImpl(String scopeAdministratorName,
A dutyKey)
Initiate.
|
TaskDutyConfigurationImpl(String scopeAdministratorName,
String dutyName)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
A |
getDutyKey()
Obtains the key identifying the
Duty . |
String |
getDutyName()
Obtains the name identifying the
Duty . |
String |
getScopeAdministratorName()
Obtains the name of the
Administrator within the
AdministratorScope . |
public TaskDutyConfigurationImpl(String scopeAdministratorName, String dutyName)
scopeAdministratorName
- Name of the Administrator
within the
AdministratorScope
.dutyName
- Name identifying Duty
of the Administrator
.public TaskDutyConfigurationImpl(String scopeAdministratorName, A dutyKey)
scopeAdministratorName
- Name of the Administrator
within the
AdministratorScope
.dutyKey
- Key identifying the Duty
of the Administrator
.public String getScopeAdministratorName()
TaskDutyConfiguration
Administrator
within the
AdministratorScope
.getScopeAdministratorName
in interface TaskDutyConfiguration<A extends Enum<A>>
Administrator
within the
AdministratorScope
.public String getDutyName()
TaskDutyConfiguration
Duty
.getDutyName
in interface TaskDutyConfiguration<A extends Enum<A>>
Duty
or null
if identified by
key.public A getDutyKey()
TaskDutyConfiguration
Duty
.getDutyKey
in interface TaskDutyConfiguration<A extends Enum<A>>
Duty
or null
if
identified by name.Copyright © 2005–2016. All rights reserved.