Package scheduler.configuration.util
Class ConfigurationSwitch<T>
- java.lang.Object
-
- scheduler.configuration.util.ConfigurationSwitch<T>
-
- Direct Known Subclasses:
QueueingConfigurationSwitch
public class ConfigurationSwitch<T> extends Object
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.- See Also:
ConfigurationPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ConfigurationPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description ConfigurationSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseActiveResourceConfiguration(ActiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Active Resource Configuration'.T
caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object)
Returns the result of interpreting the object as an instance of 'Dynamic Priority Boost Configuratioin'.T
caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.T
caseLoadBalancing(LoadBalancing object)
Returns the result of interpreting the object as an instance of 'Load Balancing'.T
caseMultipleQueueConfiguration(MultipleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'.T
casePassiveResourceConfiguration(PassiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Passive Resource Configuration'.T
casePreemptionConfiguration(PreemptionConfiguration object)
Returns the result of interpreting the object as an instance of 'Preemption Configuration'.T
casePriorityBoostConfiguration(PriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Boost Configuration'.T
casePriorityConfiguration(PriorityConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Configuration'.T
casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Dependent Time Slice Configuration'.T
casePriorityRange(PriorityRange object)
Returns the result of interpreting the object as an instance of 'Priority Range'.T
caseProcessConfiguration(ProcessConfiguration object)
Returns the result of interpreting the object as an instance of 'Process Configuration'.T
caseQuantumTimeSliceConfiguration(QuantumTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Quantum Time Slice Configuration'.T
caseQueueingConfiguration(QueueingConfiguration object)
Returns the result of interpreting the object as an instance of 'Queueing Configuration'.T
caseSchedulerConfiguration(SchedulerConfiguration object)
Returns the result of interpreting the object as an instance of 'Scheduler Configuration'.T
caseSingleQueueConfiguration(SingleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Single Queue Configuration'.T
caseStarvationBoost(StarvationBoost object)
Returns the result of interpreting the object as an instance of 'Starvation Boost'.T
caseStaticPriorityBoost(StaticPriorityBoost object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost'.T
caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost Configuration'.T
caseTimeSliceConfiguration(TimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Time Slice Configuration'.T
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected T
doSwitch(EClass theEClass, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.T
doSwitch(EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
-
-
Field Detail
-
modelPackage
protected static ConfigurationPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
doSwitch
public T doSwitch(EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated class or method.
-
doSwitch
protected T doSwitch(EClass theEClass, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated class or method.
-
doSwitch
protected T doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated class or method.
-
caseDynamicPriorityBoostConfiguratioin
public T caseDynamicPriorityBoostConfiguratioin(DynamicPriorityBoostConfiguratioin object)
Returns the result of interpreting the object as an instance of 'Dynamic Priority Boost Configuratioin'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Dynamic Priority Boost Configuratioin'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePriorityBoostConfiguration
public T casePriorityBoostConfiguration(PriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Boost Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Priority Boost Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLoadBalancing
public T caseLoadBalancing(LoadBalancing object)
Returns the result of interpreting the object as an instance of 'Load Balancing'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Load Balancing'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMultipleQueueConfiguration
public T caseMultipleQueueConfiguration(MultipleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Multiple Queue Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseQueueingConfiguration
public T caseQueueingConfiguration(QueueingConfiguration object)
Returns the result of interpreting the object as an instance of 'Queueing Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Queueing Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseQuantumTimeSliceConfiguration
public T caseQuantumTimeSliceConfiguration(QuantumTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Quantum Time Slice Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Quantum Time Slice Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseTimeSliceConfiguration
public T caseTimeSliceConfiguration(TimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Time Slice Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Time Slice Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePreemptionConfiguration
public T casePreemptionConfiguration(PreemptionConfiguration object)
Returns the result of interpreting the object as an instance of 'Preemption Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Preemption Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePriorityConfiguration
public T casePriorityConfiguration(PriorityConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Priority Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePriorityRange
public T casePriorityRange(PriorityRange object)
Returns the result of interpreting the object as an instance of 'Priority Range'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Priority Range'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePriorityDependentTimeSliceConfiguration
public T casePriorityDependentTimeSliceConfiguration(PriorityDependentTimeSliceConfiguration object)
Returns the result of interpreting the object as an instance of 'Priority Dependent Time Slice Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Priority Dependent Time Slice Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseActiveResourceConfiguration
public T caseActiveResourceConfiguration(ActiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Active Resource Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Active Resource Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
casePassiveResourceConfiguration
public T casePassiveResourceConfiguration(PassiveResourceConfiguration object)
Returns the result of interpreting the object as an instance of 'Passive Resource Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Passive Resource Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseStaticPriorityBoost
public T caseStaticPriorityBoost(StaticPriorityBoost object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Static Priority Boost'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseProcessConfiguration
public T caseProcessConfiguration(ProcessConfiguration object)
Returns the result of interpreting the object as an instance of 'Process Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Process Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSingleQueueConfiguration
public T caseSingleQueueConfiguration(SingleQueueConfiguration object)
Returns the result of interpreting the object as an instance of 'Single Queue Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Single Queue Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseStaticPriorityBoostConfiguration
public T caseStaticPriorityBoostConfiguration(StaticPriorityBoostConfiguration object)
Returns the result of interpreting the object as an instance of 'Static Priority Boost Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Static Priority Boost Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSchedulerConfiguration
public T caseSchedulerConfiguration(SchedulerConfiguration object)
Returns the result of interpreting the object as an instance of 'Scheduler Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Scheduler Configuration'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseStarvationBoost
public T caseStarvationBoost(StarvationBoost object)
Returns the result of interpreting the object as an instance of 'Starvation Boost'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Starvation Boost'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseIdentifier
public T caseIdentifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'. This implementation returns null; returning a non-null result will terminate the switch.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Identifier'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
- Generated class or method.
-
-