public class SetProfileAttributesTask extends ProfileBasedTask
A Rhino management sub task for modifying profile attributes.
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 containing the profile. |
Yes. |
Element | Description | Required |
---|---|---|
profilevalue |
Assigns a value to a profile attribute.
See |
Yes. |
This task will never throw a NonFatalBuildException
. It will always fail (throw a BuildException
) on errors.
profileName, profileProvisioningMBean, tableName
attributes
client, failOnError
Constructor and Description |
---|
SetProfileAttributesTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
profileExists, profileTableExists, run, setProfileName, setTableName, validateParameters
addProfileValue, hasAttributes
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, setFailOnError
protected void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractBaseTask
org.apache.tools.ant.BuildException