public abstract class ProfileBasedTask extends ProfileValueBasedTask
Abstract base class extended by other sub tasks which deal with profiles.
Attribute | Description | Required |
---|---|---|
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
profilename |
Name of the profile to create. |
Yes. |
tablename |
Name of the profile table in which the profile will be created. |
Yes. |
Element | Description | Required |
---|---|---|
profilevalue |
Assigns a value to a profile attribute.
See |
Implementation dependent. |
Implementation dependent.
Modifier and Type | Field and Description |
---|---|
protected String |
profileName |
protected ProfileProvisioningMBean |
profileProvisioningMBean |
protected String |
tableName |
attributes
client, failOnError
Constructor and Description |
---|
ProfileBasedTask() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
profileExists(String tableName,
String profileName) |
protected boolean |
profileTableExists(String tableName) |
void |
run(BaseAntTask parent,
RhinoConnection client,
boolean failOnError) |
void |
setProfileName(String profileName) |
void |
setTableName(String tableName) |
protected void |
validateParameters() |
addProfileValue, hasAttributes
execute, getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, setFailOnError
protected String profileName
protected String tableName
protected ProfileProvisioningMBean profileProvisioningMBean
public void run(BaseAntTask parent, RhinoConnection client, boolean failOnError) throws org.apache.tools.ant.BuildException
run
in interface SubTask
run
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected boolean profileTableExists(String tableName)
public void setProfileName(String profileName)
public void setTableName(String tableName)