Class ComponentBasedTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.ComponentBasedTask
-
- All Implemented Interfaces:
SubTask
- Direct Known Subclasses:
ConfigureObjectPoolsTask
,CreateProfileTableTask
,CreateRAEntityTask
,DeployComponentTask
,DeployDeployableUnitTask
,ImportProfilesTask
,ServiceActivationTask
,SetSecurityPolicy
,SetServiceDesiredStateTask
,SetServiceInitialPersistenceTask
,SetServiceMetricsRecordingEnabledTask
,SetServiceReplicationSelectorsTask
,SetServiceStartingPriorityTask
,SetServiceStoppingPriorityTask
,SetTraceLevelTask
,UndeployComponentTask
,UnverifyComponentTask
,VerifyComponentTask
,VerifyDeployableUnitTask
,WaitTilServiceIsInactiveTask
public abstract class ComponentBasedTask extends AbstractBaseTask
Abstract base class for all sub tasks that accept a component element.
-
-
Field Summary
Fields Modifier and Type Field Description protected SleeComponentElement
component
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description ComponentBasedTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponent(SleeComponentElement component)
Add a SleeComponentElement, called by antComponentID
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.-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
execute, getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError, validateParameters
-
-
-
-
Field Detail
-
component
protected SleeComponentElement component
-
-
Method Detail
-
addComponent
public void addComponent(SleeComponentElement component)
Add a SleeComponentElement, called by ant
- Parameters:
component
-
-
findComponent
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.
- Parameters:
concatenatedName
- the Rhino concatenated name (name, version, vendor)components
- array of components to search- Returns:
- matching ComponentID, or null if not found
- Throws:
Exception
-
-