Package com.atlassian.jira.scheduler
Class RunDetailsFactory
java.lang.Object
com.atlassian.jira.entity.AbstractEntityFactory<OfBizRunDetails>
com.atlassian.jira.scheduler.RunDetailsFactory
- All Implemented Interfaces:
EntityBuilder<OfBizRunDetails>,EntityFactory<OfBizRunDetails>,NamedEntityBuilder<OfBizRunDetails>
- Since:
- v6.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(org.ofbiz.core.entity.GenericValue gv) Builds an instance of this Entity from the given GenericValue.fieldMapFrom(OfBizRunDetails jobStatus) 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:
-
START_TIME
- See Also:
-
DURATION
- See Also:
-
OUTCOME
- See Also:
-
MESSAGE
- See Also:
-
OUTCOME_SUCCESS
- See Also:
-
OUTCOME_UNAVAILABLE
- See Also:
-
OUTCOME_ABORTED
- See Also:
-
OUTCOME_FAILED
- See Also:
-
-
Constructor Details
-
RunDetailsFactory
public RunDetailsFactory()
-
-
Method Details
-
getEntityName
Description copied from interface:NamedEntityBuilderThe name of the Entity as defined in the entitymodel.xml file.- Returns:
- the name of the Entity.
-
build
Description copied from interface:EntityBuilderBuilds an instance of this Entity from the given GenericValue.- Parameters:
gv- 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:
jobStatus- the Entity value- Returns:
- Map of field values
-