public class LogRegister extends Object implements Register
logger = transientVars.get("logger"); logger.debug("hello logger!");
Constructor and Description |
---|
LogRegister() |
Modifier and Type | Method and Description |
---|---|
Object |
registerVariable(WorkflowContext context,
WorkflowEntry entry,
Map args,
com.opensymphony.module.propertyset.PropertySet ps)
Returns the object to bind to the variable map for this workflow instance.
|
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, com.opensymphony.module.propertyset.PropertySet ps)
Register
registerVariable
in interface Register
context
- The current workflow contextentry
- The workflow entry. Note that this might be null, for example in a pre function
before the workflow has been initialisedargs
- Map of arguments as set in the workflow descriptorRegister.registerVariable(com.opensymphony.workflow.WorkflowContext,com.opensymphony.workflow.spi.WorkflowEntry,java.util.Map,PropertySet)
Copyright © 2021 catworkx GmbH. All rights reserved.