Class ResourceAssemblyContextRestriction
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.AssemblyContextRestriction<PassiveResourceRep>
-
- edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.resource.ResourceAssemblyContextRestriction
-
- All Implemented Interfaces:
InstrumentableRestriction<PassiveResourceRep>
public class ResourceAssemblyContextRestriction extends AssemblyContextRestriction<PassiveResourceRep>
-
-
Field Summary
-
Fields inherited from interface edu.kit.ipd.sdq.eventsim.instrumentation.description.core.InstrumentableRestriction
EXTENSION_POINT_ID
-
-
Constructor Summary
Constructors Constructor Description ResourceAssemblyContextRestriction()
ResourceAssemblyContextRestriction(String assemblyContextId)
ResourceAssemblyContextRestriction(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exclude(PassiveResourceRep resource)
Returns if an instrumentable is excluded.-
Methods inherited from class edu.kit.ipd.sdq.eventsim.instrumentation.restrictions.AssemblyContextRestriction
getAssemblyContextId, getHint, setAssemblyContextId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.kit.ipd.sdq.eventsim.instrumentation.description.core.InstrumentableRestriction
filter
-
-
-
-
Constructor Detail
-
ResourceAssemblyContextRestriction
public ResourceAssemblyContextRestriction(String assemblyContextId)
-
ResourceAssemblyContextRestriction
public ResourceAssemblyContextRestriction(org.palladiosimulator.pcm.core.composition.AssemblyContext context)
-
ResourceAssemblyContextRestriction
public ResourceAssemblyContextRestriction()
-
-
Method Detail
-
exclude
public boolean exclude(PassiveResourceRep resource)
Description copied from interface:InstrumentableRestriction
Returns if an instrumentable is excluded.- Parameters:
resource
- the instrumentable to be checked- Returns:
true
, if the instrumentable should be excluded orfalse
otherwise
-
-