|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.core.csi.OntInstanceDescriptionImpl
kaos.autonomy.repository.MetricForResourceStatusImpl
public class MetricForResourceStatusImpl
This class containes methods allowing to create and investigate a description of an MetricForResourceStatus instance. $Revision$
Constructor Summary | |
---|---|
MetricForResourceStatusImpl(SerializableOntModelImpl instanceModel,
OntologyService myOntologyService)
|
|
MetricForResourceStatusImpl(java.lang.String instanceName,
java.lang.String className)
|
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 class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface kaos.core.csi.OntInstanceDescription |
---|
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType |
Constructor Detail |
---|
public MetricForResourceStatusImpl(java.lang.String instanceName, java.lang.String className) throws java.net.URISyntaxException
java.net.URISyntaxException
public MetricForResourceStatusImpl(SerializableOntModelImpl instanceModel, OntologyService myOntologyService) throws java.net.URISyntaxException
java.net.URISyntaxException
Method Detail |
---|
public java.lang.String getResourceStatus()
getResourceStatus
in interface MetricForResourceStatus
public float getProbabilityForSuccessfulPerformance()
getProbabilityForSuccessfulPerformance
in interface MetricForResourceStatus
public void setResourceStatus(java.lang.String myResourceStatus)
setResourceStatus
in interface MetricForResourceStatus
myResourceStatus
- string representing the resource status urlpublic void setProbabilityForSuccessfulPerformance(float myProbability)
setProbabilityForSuccessfulPerformance
in interface MetricForResourceStatus
myProbability
- value of probability for successful performance of the haction in this situation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |