|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgreementClient
Client interface of a agreement service implementation. Each implementation uses a specific remote technology, depending on the technology a specific remote client is returned.
| Field Summary | |
|---|---|
static ClientLocator<AgreementClient> |
FACTORY
Default builder. |
| Method Summary | |
|---|---|
AgreementClient |
clone()
Returns a copy of the client. |
void |
destroy()
Destroys agreement instance. |
String |
getAgreementId()
Returns the id of the agreement instance. |
AgreementContextType |
getContext()
Returns the context of the agreement instance. |
GuaranteeTermStateType |
getGuaranteeTermState(String name)
Returns the guarantee term with the given name. |
GuaranteeTermStateType[] |
getGuaranteeTermStates()
Returns the state for the individual guarantee terms of the agreement instance. |
String |
getName()
Returns the name of the agreement instance. |
RemoteClient |
getRemoteClient()
Returns the web-service client used for communication with the SLA management server. |
AgreementPropertiesType |
getResourceProperties()
Returns the resource properties of the agreement instance. |
ServiceTermStateType |
getServiceTermState(String name)
Returns the service description term with the given name. |
ServiceTermStateType[] |
getServiceTermStates()
Returns the state for the individual service terms of the agreement instance. |
AgreementStateType |
getState()
Returns the state of the agreement instance. |
TermTreeType |
getTerms()
Returns the terms of the agreement instance. |
void |
terminate()
Terminates an agreement. |
void |
terminate(TerminateInputType reason)
Terminates the agreement instance. |
| Field Detail |
|---|
static final ClientLocator<AgreementClient> FACTORY
| Method Detail |
|---|
RemoteClient getRemoteClient()
String getName()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
String getAgreementId()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementContextType getContext()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
TermTreeType getTerms()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
void terminate(TerminateInputType reason)
throws ResourceUnknownException,
ResourceUnavailableException
reason - a domain-specific termination reason
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementStateType getState()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
GuaranteeTermStateType[] getGuaranteeTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
ServiceTermStateType[] getServiceTermStates()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
ServiceTermStateType getServiceTermState(String name)
throws ResourceUnknownException,
ResourceUnavailableException
name - the name of the service description term to retrieve
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
GuaranteeTermStateType getGuaranteeTermState(String name)
throws ResourceUnknownException,
ResourceUnavailableException
name - the name of the guarantee term to retrieve
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementPropertiesType getResourceProperties()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
void terminate()
throws ResourceUnknownException,
ResourceUnavailableException
ResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailable
AgreementClient clone()
throws CloneNotSupportedException
CloneNotSupportedException - indicates that the client implementation does not support cloning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||