Interface ScoreEventFactory
public interface ScoreEventFactory
User:
Date: 30/07/2014
A factory to create
ScoreEvent-
Method Summary
Modifier and TypeMethodDescriptionio.cloudslang.score.events.ScoreEventcreateFailedBranchEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor failed branch execution stateio.cloudslang.score.events.ScoreEventcreateFailureEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor failure execution stateio.cloudslang.score.events.ScoreEventcreateFinishedBranchEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor finished branch execution stateio.cloudslang.score.events.ScoreEventcreateFinishedEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor finished execution stateio.cloudslang.score.events.ScoreEventcreateNoWorkerEvent(io.cloudslang.score.facade.entities.Execution execution, Long pauseId) Creates aScoreEventfor no worker execution state
-
Method Details
-
createFinishedEvent
io.cloudslang.score.events.ScoreEvent createFinishedEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor finished execution state- Parameters:
execution- the execution to create the event from- Returns:
ScoreEventof the finished state
-
createFailedBranchEvent
io.cloudslang.score.events.ScoreEvent createFailedBranchEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor failed branch execution state- Parameters:
execution- the execution to create the event from- Returns:
ScoreEventof the failed branch state
-
createFailureEvent
io.cloudslang.score.events.ScoreEvent createFailureEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor failure execution state- Parameters:
execution- the execution to create the event from- Returns:
ScoreEventof the failure state
-
createNoWorkerEvent
io.cloudslang.score.events.ScoreEvent createNoWorkerEvent(io.cloudslang.score.facade.entities.Execution execution, Long pauseId) Creates aScoreEventfor no worker execution state- Parameters:
execution- the execution to create the event from- Returns:
ScoreEventof the no worker state
-
createFinishedBranchEvent
io.cloudslang.score.events.ScoreEvent createFinishedBranchEvent(io.cloudslang.score.facade.entities.Execution execution) Creates aScoreEventfor finished branch execution state- Parameters:
execution- the execution to create the event from- Returns:
ScoreEventof the finished branch state
-