org.ogf.graap.wsag.samples
Class SampleMonitoredAgreement
java.lang.Object
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.AbstractAgreementType
org.ogf.graap.wsag.samples.SampleMonitoredAgreement
- All Implemented Interfaces:
- Agreement
public class SampleMonitoredAgreement
- extends AbstractAgreementType
SampleMonitorableAgreement
- Author:
- hrasheed
Methods inherited from class org.ogf.graap.wsag.api.types.AbstractAgreementType |
getAgreementId, getAgreementInstance, getContext, getExecutionContext, getGuaranteeTermStates, getImplementationClass, getName, getServiceTermStates, getState, getTerms, getTransientExecutionContext, getXMLObject, initialize, initialize, notifyReinitialized, notifyReload, setAgreementId, setContext, setGuaranteeTermStates, setName, setServiceTermStates, setState, setTerms, setXmlObject, validate |
Methods inherited from class org.ogf.graap.wsag.api.types.WSAGXmlType |
addObserver, countObservers, deleteObserver, deleteObservers, getObservable, hasChanged, notifyObservers, notifyObservers, processTemplate, setChanged, setObservable, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleMonitoredAgreement
public SampleMonitoredAgreement(AgreementOffer offer)
- Creates a monitored agreement for the given offer.
- Parameters:
offer
- the offer for which the agreement is created
SampleMonitoredAgreement
public SampleMonitoredAgreement(AgreementPropertiesType agreementPropertiesType)
- Creates a monitored agreement based on the given agreement properties document.
- Parameters:
agreementPropertiesType
- the agreement properties document
terminate
public void terminate(TerminateInputType reason)
- Terminates an agreement.
- Parameters:
reason
- termination reason
Copyright © 2008-2012. All Rights Reserved.