public abstract class ComponentBasedTask extends AbstractBaseTask
Abstract base class for all sub tasks that accept a component element.
Modifier and Type | Field and Description |
---|---|
protected SleeComponentElement |
component |
client, failOnError
Constructor and Description |
---|
ComponentBasedTask() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(SleeComponentElement component)
Add a SleeComponentElement, called by ant
|
ComponentID |
findComponent(String concatenatedName,
ComponentID[] components)
Find a matching component from an array of deployed components by comparing a Rhino concatenated string component name with one generated from the components ComponentDescriptor.
|
execute, getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError, validateParameters
protected SleeComponentElement component
public void addComponent(SleeComponentElement component)
Add a SleeComponentElement, called by ant
component
- public ComponentID findComponent(String concatenatedName, ComponentID[] components) throws Exception
Find a matching component from an array of deployed components by comparing a Rhino concatenated string component name with one generated from the components ComponentDescriptor.
concatenatedName
- the Rhino concatenated name (name, version, vendor)components
- array of components to searchException