@Service public class ScoreServicesImpl extends Object implements ScoreServices
| Constructor and Description |
|---|
ScoreServicesImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
subscribe(io.cloudslang.score.events.ScoreEventListener eventHandler,
Set<String> eventTypes) |
Long |
trigger(CompilationArtifact compilationArtifact,
Map<String,Value> inputs,
Set<SystemProperty> systemProperties)
This method will trigger the flow in an Async matter.
|
Long |
triggerSync(CompilationArtifact compilationArtifact,
Map<String,Value> inputs,
Set<SystemProperty> systemProperties,
boolean isQuiet,
boolean debug)
This method will trigger the flow in a synchronize matter, meaning only one flow can run at a time.
|
public void subscribe(io.cloudslang.score.events.ScoreEventListener eventHandler,
Set<String> eventTypes)
subscribe in interface ScoreServicespublic Long trigger(CompilationArtifact compilationArtifact, Map<String,Value> inputs, Set<SystemProperty> systemProperties)
trigger in interface ScoreServicescompilationArtifact - the artifact to triggerinputs - : flow inputspublic Long triggerSync(CompilationArtifact compilationArtifact, Map<String,Value> inputs, Set<SystemProperty> systemProperties, boolean isQuiet, boolean debug)
triggerSync in interface ScoreServicescompilationArtifact - the artifact to triggerinputs - : flow inputsCopyright © 2017. All Rights Reserved.