Method Summary |
|
protected String | createFailedFormattedJbiAdminResult(String i18nKey, Object[] args) converts the i18n error message to the jbi result display format. |
public void | execute() executes the ant task. |
abstract protected void | executeTask() this is where the task exection code gets implemented. |
protected JBIManagementMessage | extractJBIManagementMessage(Exception ex) |
protected String | formatTaskFailedMessage(String causeMsg) |
protected String | formatTaskSuccessMessage() |
protected String | formatTaskSuccessMessage(String causeMsg) |
public String | getDefaultHost() Getter for Default host. |
public String | getDefaultJmxpropertiesfile() Default Getter for properties file. |
public String | getDefaultPassword() Getter for Default Password. |
public String | getDefaultPort() Getter for property port. |
public String | getHost() Getter for property host. |
protected I18NBundle | getI18NBundle() gives the I18N bundle for ant tasks
extended tasks override this if they want to provide different i18n bundle
for their messages. |
protected JBIAdminCommands | getJBIAdminCommands() |
protected Properties | getJmxConnectionProperties() |
public String | getJmxpropertiesfile() |
public String | getPassword() Getter for property Password. |
protected String | getPasswordFromFile(File pwFile) |
protected String | getPasswordFromFileOrAttribute() check if the password file is set. |
public File | getPasswordfile() Getter for property passwordFile. |
public String | getPort() Getter for property port. |
public Properties | getProviderProperties() Returns the properties from the file. |
public Boolean | getSecure() Getter for property Secure. |
abstract protected String | getTaskFailedStatusI18NKey() |
protected String | getTaskPartialSuccessStatusI18NKey() returns i18n key. |
abstract protected String | getTaskSuccessStatusI18NKey() returns i18n key. |
protected String | getTaskWarningStatusI18NKey() returns i18n key. |
public String | getUsername() Getter for property Username. |
protected String | getValidComponentName(String compName) |
protected String | getValidName(String name, String errorMsgI18nKey) |
protected String | getValidServiceAssemblyName(String saName) |
protected String | getValidSharedLibraryName(String slibName) |
public boolean | isFailOnError() Getter for property failOnError. |
protected void | logDebug(String aDebugMsg) |
protected void | logDebugConnectionAttributes() |
protected void | logError(String aErrorMsg) |
protected void | logInfo(String anInfoMsg) |
protected void | logVerbose(String aVerboseMsg) |
protected void | logWarning(String aWarningMsg) |
protected void | printArrayDataRecursively(Object[] arrayData, OpenType elementType, PrintWriter msgWriter, String tabStr) |
protected void | printCompositeDataRecursively(CompositeData compositeData, PrintWriter msgWriter, String tabStr) |
protected void | printMessage(String aMsg) |
protected void | printTabularData(TabularData statsReport, PrintWriter msgWriter, String tabStr) |
protected void | printTaskPartialSuccess(String result) |
protected void | printTaskSuccess(String result) |
protected void | printTaskSuccess(JBIManagementMessage mgmtMsg) |
protected void | processTaskException(Exception ex) here we check for the management message in the exception and process
it for the error, warning or success information. |
protected void | processTaskResult(String result) processes the result string as a management message for for the error, warning or
success information. |
public void | setFailOnError(boolean failOnError) Setter for property failOnError. |
public void | setHost(String aHost) Setter for property host. |
public void | setJmxpropertiesfile(String propertiesfile) Setter for properties file. |
public void | setPassword(String aPassword) Setter for property Password. |
public void | setPasswordfile(File passwordFile) Setter for property passwordFile. |
public void | setPort(String aPort) Setter for property port. |
public void | setSecure(Boolean secure) Setter for property Secure. |
public void | setUsername(String aUsername) Setter for property Username. |
protected void | throwBuildException(String causeMsg) |
protected void | throwBuildException(Throwable aCause) |
protected void | throwBuildException(JBIManagementMessage aCauseMgmtMsg) |
protected void | throwTaskBuildException(String aCauseKey) |
protected void | throwTaskBuildException(String aCauseKey, String aCauseArg1) |
protected void | validateJmxConnectionPortValue(String port) |