Class ResourceRepairedEvent

  • All Implemented Interfaces:
    de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<ScheduledResource>, de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<ScheduledResource>

    public class ResourceRepairedEvent
    extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<ScheduledResource>
    Represents a repair of an AbstractScheduledResource after a failure. After the occurrence of the repair event, the resource is available again until the next failure event occurs.
    • Constructor Detail

      • ResourceRepairedEvent

        public ResourceRepairedEvent​(SimuComModel model,
                                     String name)
        The constructor.
        Parameters:
        model - the owner model
        name - the name of the event
    • Method Detail

      • getFailedEvent

        public ResourceFailedEvent getFailedEvent()
        Retrieves the corresponding failure event.
        Returns:
        the failure event
      • setFailedEvent

        public void setFailedEvent​(ResourceFailedEvent failedEvent)
        Sets the corresponding failure event.
        Parameters:
        failedEvent - the failure event