kaos.autonomy.repository
Interface MetricForResourceStatus

All Superinterfaces:
java.lang.Cloneable, OntInstanceDescription
All Known Implementing Classes:
MetricForResourceStatusImpl

public interface MetricForResourceStatus
extends OntInstanceDescription

This interface containes methods allowing to create and investigate a description of an MetricForResourceStatus instance. $Revision: 1.1 $


Method Summary
 float getProbabilityForSuccessfulPerformance()
          Get the value of this probability for successful performance of the haction in this situation
 java.lang.String getResourceStatus()
          Get resource status
 void setProbabilityForSuccessfulPerformance(float myProbability)
          Set the value of this probability
 void setResourceStatus(java.lang.String myResourceStatus)
          Set resource status
 
Methods inherited from interface kaos.core.csi.OntInstanceDescription
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Method Detail

getResourceStatus

java.lang.String getResourceStatus()
Get resource status


getProbabilityForSuccessfulPerformance

float getProbabilityForSuccessfulPerformance()
Get the value of this probability for successful performance of the haction in this situation


setResourceStatus

void setResourceStatus(java.lang.String myResourceStatus)
Set resource status

Parameters:
myResourceStatus - string representing the resource status url

setProbabilityForSuccessfulPerformance

void setProbabilityForSuccessfulPerformance(float myProbability)
Set the value of this probability

Parameters:
myProbability - value of probability for successful performance of the haction in this situation