Class EnginesResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.EnginesResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.EnginesResource
public class EnginesResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.EnginesResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.EnginesResource
GET_CONDITION_MATCHING_TRIGGERS_RESULT_PATH, GET_CONDITION_MATCHING_TRIGGERS_RESULT_SUMMARY, GET_ENGINES_PATH, GET_ENGINES_SUMMARY, GET_MESSAGES_PATH, GET_MESSAGES_SUMMARY, GET_STATUS_PATH, GET_STATUS_SUMMARY, GET_XML_EXPORT_RESULT_PATH, GET_XML_EXPORT_RESULT_SUMMARY, PATH, POST_CONDITION_MATCHING_TRIGGERS_BEGIN_PATH, POST_CONDITION_MATCHING_TRIGGERS_BEGIN_SUMMARY, POST_INPUT_FOR_MATCHING_TRIGGERS_PATH, POST_INPUT_FOR_MATCHING_TRIGGERS_SUMMARY, POST_INPUT_FOR_RESPONSE_PATH, POST_INPUT_FOR_RESPONSE_SUMMARY, POST_RELOAD_PATH, POST_RELOAD_SUMMARY, POST_SESSION_RESTART_PATH, POST_SESSION_RESTART_SUMMARY, POST_SESSION_START_PATH, POST_SESSION_START_SUMMARY, POST_SESSION_STOP_PATH, POST_SESSION_STOP_SUMMARY, POST_SHUTDOWN_PATH, POST_SHUTDOWN_SUMMARY, POST_START_PATH, POST_START_SUMMARY, POST_XML_EXPORT_BEGIN_PATH, POST_XML_EXPORT_BEGIN_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description EnginesResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDbeginTriggerMatchingCondition(UUID solutionId, com.artisol.teneo.studio.api.models.EngineCondition engineConditionModel)UUIDbeginXmlExport(UUID solutionId)List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>getEngineMessages(UUID solutionId)com.artisol.teneo.engine.manager.api.models.EngineAnswergetEngineResponseForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel)List<UUID>getEngines()com.artisol.teneo.engine.manager.api.models.EngineStatusgetEngineStatus(UUID solutionId)List<UUID>getMatchingTriggersForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel)List<UUID>getTriggerMatchingCondition(UUID taskId)InputStreamgetXmlExport(UUID taskId)List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>reloadEngine(UUID solutionId)com.artisol.teneo.engine.manager.api.models.EngineStartedSessionrestartEngineSession(UUID solutionId)List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>shutdownEngine(UUID solutionId)voidstartEngine(UUID solutionId, boolean stable)com.artisol.teneo.engine.manager.api.models.EngineStartedSessionstartEngineSession(UUID solutionId)com.artisol.teneo.engine.manager.api.models.EngineStoppedSessionstopEngineSession(UUID solutionId)
-
-
-
Method Detail
-
getEngines
public List<UUID> getEngines() throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEnginesin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEngineMessages
public List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage> getEngineMessages(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEngineMessagesin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEngineStatus
public com.artisol.teneo.engine.manager.api.models.EngineStatus getEngineStatus(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEngineStatusin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
shutdownEngine
public List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage> shutdownEngine(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
shutdownEnginein interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
startEngine
public void startEngine(UUID solutionId, boolean stable) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
startEnginein interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
reloadEngine
public List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage> reloadEngine(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
reloadEnginein interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
stopEngineSession
public com.artisol.teneo.engine.manager.api.models.EngineStoppedSession stopEngineSession(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
stopEngineSessionin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
startEngineSession
public com.artisol.teneo.engine.manager.api.models.EngineStartedSession startEngineSession(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
startEngineSessionin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
restartEngineSession
public com.artisol.teneo.engine.manager.api.models.EngineStartedSession restartEngineSession(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
restartEngineSessionin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginXmlExport
public UUID beginXmlExport(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginXmlExportin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getXmlExport
public InputStream getXmlExport(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getXmlExportin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEngineResponseForInput
public com.artisol.teneo.engine.manager.api.models.EngineAnswer getEngineResponseForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEngineResponseForInputin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getMatchingTriggersForInput
public List<UUID> getMatchingTriggersForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getMatchingTriggersForInputin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginTriggerMatchingCondition
public UUID beginTriggerMatchingCondition(UUID solutionId, com.artisol.teneo.studio.api.models.EngineCondition engineConditionModel) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginTriggerMatchingConditionin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getTriggerMatchingCondition
public List<UUID> getTriggerMatchingCondition(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getTriggerMatchingConditionin interfacecom.artisol.teneo.studio.api.resources.EnginesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-