public interface MeasurementContext
extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getMeasurementUUID()
Returns the unique identifier of the measurement containing this component.
|
java.io.Serializable |
getProperty(java.lang.String identifier)
Returns a previously-by this or another measurement component-stored property.
|
<T extends java.io.Serializable> |
getProperty(java.lang.String identifier,
java.lang.Class<T> propertyType)
Returns a previously-by this or another measurement component-stored property.
|
java.lang.String[] |
getPropertyIdentifiers()
Returns the identifiers of all stored properties.
|
void |
notifyMeasurementStructureChanged()
Should be called if the structure of the measurement changed during execution, e.g.
|
void |
setProperty(java.lang.String identifier,
java.io.Serializable property)
Sets a property, such that it can be loaded by any other job in the measurement.
|
void setProperty(java.lang.String identifier, java.io.Serializable property) throws java.rmi.RemoteException
identifier
- a short identifier for the property.property
- The property which should be saved.java.rmi.RemoteException
java.io.Serializable getProperty(java.lang.String identifier) throws java.rmi.RemoteException
identifier
- identifier of the property.java.rmi.RemoteException
<T extends java.io.Serializable> T getProperty(java.lang.String identifier, java.lang.Class<T> propertyType) throws java.rmi.RemoteException
propertyType
- type to which the property should be casted.identifier
- identifier of the property.java.rmi.RemoteException
java.lang.String[] getPropertyIdentifiers() throws java.rmi.RemoteException
java.rmi.RemoteException
void notifyMeasurementStructureChanged() throws java.rmi.RemoteException
java.rmi.RemoteException
java.util.UUID getMeasurementUUID() throws java.rmi.RemoteException
java.rmi.RemoteException