Package com.atlassian.jira.scheduler
Class ClusteredJobFactory
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<OfBizClusteredJob>
com.atlassian.jira.scheduler.ClusteredJobFactory
- All Implemented Interfaces:
EntityBuilder<OfBizClusteredJob>,EntityFactory<OfBizClusteredJob>,NamedEntityBuilder<OfBizClusteredJob>
- Since:
- v7.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(org.ofbiz.core.entity.GenericValue genericValue) Builds an instance of this Entity from the given GenericValue.fieldMapFrom(OfBizClusteredJob value) Builds a FieldMap from an entity Object.The name of the Entity as defined in the entitymodel.xml file.Methods inherited from class com.atlassian.jira.entity.AbstractEntityFactory
buildList, genericValueFrom, toString
-
Field Details
-
ID
- See Also:
-
JOB_ID
- See Also:
-
JOB_RUNNER_KEY
- See Also:
-
SCHED_TYPE
- See Also:
-
INTERVAL_MILLIS
- See Also:
-
FIRST_RUN
- See Also:
-
CRON_EXPRESSION
- See Also:
-
TIME_ZONE
- See Also:
-
NEXT_RUN
- See Also:
-
VERSION
- See Also:
-
PARAMETERS
- See Also:
-
TYPE_INTERVAL
- See Also:
-
TYPE_CRON
- See Also:
-
-
Constructor Details
-
ClusteredJobFactory
public ClusteredJobFactory()
-
-
Method Details
-
build
Description copied from interface:EntityBuilderBuilds an instance of this Entity from the given GenericValue.- Parameters:
genericValue- GenericValue for the entity- Returns:
- the entity Object
-
fieldMapFrom
Description copied from interface:EntityFactoryBuilds a FieldMap from an entity Object. The FieldMap is the data held by a GenericValue, so this basically is the reverse operation of turning an object into a GenericValue.- Parameters:
value- the Entity value- Returns:
- Map of field values
-
getEntityName
Description copied from interface:NamedEntityBuilderThe name of the Entity as defined in the entitymodel.xml file.- Returns:
- the name of the Entity.
-