org.ogf.graap.wsag.api.sla
Class ComputeJobOffer

java.lang.Object
  extended by org.ogf.graap.wsag.api.types.WSAGXmlType
      extended by org.ogf.graap.wsag.api.types.AgreementOfferType
          extended by org.ogf.graap.wsag.api.sla.ComputeJobOffer
All Implemented Interfaces:
AgreementOffer
Direct Known Subclasses:
AdvanceReservationComputeJobOffer

public class ComputeJobOffer
extends AgreementOfferType

ComputeJobOffer

Author:
Oliver Waeldrich

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ogf.graap.wsag.api.types.WSAGXmlType
WSAGXmlType.Wsag4jObservable
 
Constructor Summary
ComputeJobOffer(AgreementTemplateType template)
          Creates an Unicore6ComputeSLAOffer from a template.
ComputeJobOffer(AgreementType offer)
          Creates an Unicore6ComputeSLAOffer from a offer.
 
Method Summary
 ResourcesType getResourceDefinition()
           
 ApplicationType getSelectedApplication()
           
 JobDefinitionType getSelectedJobDefinition()
           
 
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
 

Constructor Detail

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
Method Detail

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.