org.ogf.graap.wsag.api.sla
Class ComputeJobOffer
java.lang.Object
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.AgreementOfferType
org.ogf.graap.wsag.api.sla.ComputeJobOffer
- All Implemented Interfaces:
- AgreementOffer
- Direct Known Subclasses:
- AdvanceReservationComputeJobOffer
public class ComputeJobOffer
- extends AgreementOfferType
ComputeJobOffer
- Author:
- Oliver Waeldrich
Methods inherited from class org.ogf.graap.wsag.api.types.AgreementOfferType |
getAgreementId, getContext, getInitiatorEPR, getName, getNoncriticalExtensions, getTerms, getXMLObject, setAgreementId, setContext, setInitiatorEPR, setName, setNoncriticalExtensions, setTerms, 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 |
ComputeJobOffer
public ComputeJobOffer(AgreementTemplateType template)
- Creates an Unicore6ComputeSLAOffer from a template.
- Parameters:
template
- the agreement template XML representation
ComputeJobOffer
public ComputeJobOffer(AgreementType offer)
- Creates an Unicore6ComputeSLAOffer from a offer.
- Parameters:
offer
- the agreement offer XML representation
getResourceDefinition
public ResourcesType getResourceDefinition()
- Returns:
- the resource definition specified in the offer
- See Also:
ComputeResourcePattern.getResourceDefinition()
getSelectedApplication
public ApplicationType getSelectedApplication()
- Returns:
- the JSDL Application selected in this offer
- See Also:
ComputeApplicationPattern.getSelectedApplication()
getSelectedJobDefinition
public JobDefinitionType getSelectedJobDefinition()
- Returns:
- the job definition that contains the selected application
Copyright © 2008-2012. All Rights Reserved.