public class JONServerDownloadActionHandler extends BaseHandler
logger, MESSAGE_NO_CHANGES, TRANSITION_ERROR, TRANSITION_SUCCESS| Constructor and Description |
|---|
JONServerDownloadActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkProperties()
Ensures the property values that were set in
BaseHandler.substituteVariables(org.jbpm.graph.exe.ExecutionContext)
are valid. |
void |
downloadBits(org.rhq.core.domain.content.PackageDetailsKey key,
ContentContext contentContext) |
String |
getDescription()
Returns a user readable description of what the step in the workflow entails.
|
String |
getDestinationFileLocation() |
void |
run(org.jbpm.graph.exe.ExecutionContext executionContext)
Tells the handle implementation to actually perform the step indicated.
|
void |
setDestinationFileLocation(String destinationFileLocation) |
void |
setPropertyDefaults()
Sets the default values for properties used by the handler implementation.
|
void |
substituteVariables(org.jbpm.graph.exe.ExecutionContext executionContext)
Requests the action handler substitute into its node any variables necessary, taking the values for these from
the provided execution context.
|
complete, error, execute, notRun, skip, substituteVariablepublic void run(org.jbpm.graph.exe.ExecutionContext executionContext)
BaseHandlerrun in class BaseHandlerexecutionContext - cannot be nullpublic void downloadBits(org.rhq.core.domain.content.PackageDetailsKey key,
ContentContext contentContext)
throws IOException,
ActionHandlerException
IOExceptionActionHandlerExceptionpublic String getDescription()
BaseHandlergetDescription in class BaseHandlernullpublic void setPropertyDefaults()
BaseHandlersetPropertyDefaults in class BaseHandlerprotected void checkProperties()
throws ActionHandlerException
BaseHandlerBaseHandler.substituteVariables(org.jbpm.graph.exe.ExecutionContext)
are valid. This may optionally be overridden by action handler implementations if necessary.checkProperties in class BaseHandlerActionHandlerException - if any of the properties are invalidpublic void substituteVariables(org.jbpm.graph.exe.ExecutionContext executionContext)
throws ActionHandlerException
BaseHandlersubstituteVariables in class BaseHandlerexecutionContext - JBPM execution context from which the property values should be extractedActionHandlerException - if there is an error extraction or substituting the variablespublic String getDestinationFileLocation()
public void setDestinationFileLocation(String destinationFileLocation)
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.