Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.config.proxy.DeployResult

java.lang.Object
        com.ibm.broker.config.proxy.DeployResult

public class DeployResult
extends Object

The DeployResult type is used to describe the outcome of deployment operations. Each instance represents the state of a deployment at the time it is returned from one of the deploy() methods. In other words, once an instance is supplied to the application, it is no longer updated by the Configuration Manager Proxy.

class com.ibm.broker.config.proxy.DeployResult

Responsibilities Each instance represents a possible outcome of a deployment operation.
Internal Collaborators None


 Change Activity:
 -------- ----------- -------------   ------------------------------------
 Reason:  Date:       Originator:     Comments:
 -------- ----------- -------------   ------------------------------------
 25103.2  2004-04-23  HDMPL           v6 Release

 

Method Index
Method Description
CompletionCodeType getCompletionCode() Returns the overall outcome for the current deployment.
CompletionCodeType getCompletionCodeForBroker(BrokerProxy) Returns the completion code for the supplied broker.
Enumeration getDeployedBrokers() Returns an enumeration of BrokerProxy objects to which the deploy was sent.
Enumeration getLogEntries() Returns any LogEntry objects, supplied by the Configuration Manager, that describe the overall outcome of the deployment request.
Enumeration getLogEntriesForBroker(BrokerProxy) Returns an enumeration of available LogEntry objects that describe the deployment outcome for the current broker.
int getNumberOfDeployedBrokers() Returns the number of BrokerProxy objects to which the deploy was sent.
String toString() Returns a String representation of the overall outcome of the deploy.

Methods

getCompletionCode

public CompletionCodeType getCompletionCode() 

Returns the overall outcome for the current deployment. The result will be one of the following objects:

Further information can be determined by using the getCompletionCodeForBroker() and getLogEntryForBroker() methods, and by parsing the LogProxy object directly.

getCompletionCodeForBroker

public CompletionCodeType getCompletionCodeForBroker(BrokerProxy b) 

Returns the completion code for the supplied broker. The result will be one of the following objects:

If the deploy to which this result refers did not involve the supplied broker (or if the supplied argument was null), null will be returned.

getDeployedBrokers

public Enumeration getDeployedBrokers() 

Returns an enumeration of BrokerProxy objects to which the deploy was sent.

Further information can be determined by using the getCompletionCodeForBroker() and getLogEntryForBroker() methods, and by parsing the LogProxy object directly.

getLogEntries

public Enumeration getLogEntries() 

Returns any LogEntry objects, supplied by the Configuration Manager, that describe the overall outcome of the deployment request.

getLogEntriesForBroker

public Enumeration getLogEntriesForBroker(BrokerProxy b) 

Returns an enumeration of available LogEntry objects that describe the deployment outcome for the current broker.

If the deploy to which this result refers did not involve the supplied broker (or if the supplied argument was null), null will be returned.

getNumberOfDeployedBrokers

public int getNumberOfDeployedBrokers() 

Returns the number of BrokerProxy objects to which the deploy was sent.

toString

public final String toString() 

Returns a String representation of the overall outcome of the deploy.

Class Hierarchy All Classes All Fields and Methods