public class CreateAgentFromDescription extends CreateItemFromDescription
WfVertex.TypesAVAILABLE, DONEactive, mErrors, state, XPATH_TOKENmIsComposite| Constructor and Description |
|---|
CreateAgentFromDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected ActiveEntity |
createAgentAddRoles(AgentPath newAgentPath,
String[] roles,
String pwd)
Create Corba server, AgentPath and add Roles to agent
|
protected String |
runActivityLogic(AgentPath agentPath,
ItemPath descItemPath,
int transitionID,
String requestData,
Object locker)
Params:
Agent name
Domain context
Comma-delimited Role names to assign to the Agent
Password (optional)
Description version to use(optional)
Initial properties to set in the new Agent (optional)
|
initialiseItem, instantiateCollection, instantiateCollections, instantiateProperties, instantiateViewpoint, instantiateWorkflow, storeItem, unmarshallInitPropertiesaddAdminAgentRole, bundleData, bundleData, getActive, getDataList, getErrors, getIsPredefined, getName, getPredefStepSchemaName, getStepInstance, getType, request, setIsPredefined, storeOutcomeEventAndViews, storeOutcomeEventAndViews, verifyabort, addNext, calculateAllJobs, calculateJobs, getCurrentAgentName, getCurrentAgentRole, getDescription, getErrorTransitionId, getNext, getState, getStateDate, getStateMachine, getStateName, getTypeName, isFinished, loop, pushJobsToAgents, pushJobsToAgents, reinit, request, request, run, runFirst, runNext, setActive, setActiveDate, setStartDate, setState, setStateDate, setTypeevaluateProperty, evaluatePropertyValue, evaluateScript, findPair, getActContext, getOtherPairingID, getWf, isMyPairaddChild, deriveVersionNumber, getBuiltInProperty, getBuiltInProperty, getCentrePoint, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getParent, getPath, getProperties, search, setBuiltInProperty, setChildrenGraphModel, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setProperties, updatePropertiesFromCollection, updatePropertiesFromCollectionaddInEdgeId, addOutEdgeId, clearTag, containsPoint, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTagprotected String runActivityLogic(AgentPath agentPath, ItemPath descItemPath, int transitionID, String requestData, Object locker) throws ObjectNotFoundException, InvalidDataException, ObjectAlreadyExistsException, CannotManageException, ObjectCannotBeUpdated, PersistencyException
runActivityLogic in class CreateItemFromDescriptionObjectNotFoundExceptionInvalidDataException - The input parameters were incorrectObjectAlreadyExistsException - The Agent already existsCannotManageException - The Agent could not be createdObjectCannotBeUpdated - The addition of the new entries into the LookupManager failedPersistencyExceptionCreateItemFromDescription.runActivityLogic(AgentPath, ItemPath, int, String, Object)protected ActiveEntity createAgentAddRoles(AgentPath newAgentPath, String[] roles, String pwd) throws CannotManageException, ObjectCannotBeUpdated, ObjectAlreadyExistsException
newAgentPath - roles - CannotManageExceptionObjectCannotBeUpdatedObjectAlreadyExistsExceptionCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.