public class ResourceDemandingInternalAction extends Object implements MeasurableSeffElement
The internal action applies to a specific resource type. The resource type describes both the resource that is demanded and the unit the demand’s value is expressed in.
ResourceDemandType
,
Serialized FormConstructor and Description |
---|
ResourceDemandingInternalAction(ResourceDemandType resourceType,
CodeSection action)
Creates a ResourceDemandingInternalAction for a specific resource type using a
given code section.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
CodeSection |
getAction()
Gets this internal action's code section.
|
ResourceDemandType |
getResourceType()
Gets this internal action's result type.
|
int |
hashCode() |
String |
toString() |
public ResourceDemandingInternalAction(ResourceDemandType resourceType, CodeSection action)
resourceType
- The resource type of this internal action that should be
measured. Must not be null
.action
- A valid code section for this resource demanding internal action. The
first line of the code section marks the beginning of this internal
action (inclusive). The last line of the code section marks the end of
this internal action (inclusive). Must not be null
.public CodeSection getAction()
null
.public ResourceDemandType getResourceType()
null
.