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 UUID
beginTriggerMatchingCondition(UUID solutionId, com.artisol.teneo.studio.api.models.EngineCondition engineConditionModel)
UUID
beginXmlExport(UUID solutionId)
List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>
getEngineMessages(UUID solutionId)
com.artisol.teneo.engine.manager.api.models.EngineAnswer
getEngineResponseForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel)
List<UUID>
getEngines()
com.artisol.teneo.engine.manager.api.models.EngineStatus
getEngineStatus(UUID solutionId)
List<UUID>
getMatchingTriggersForInput(UUID solutionId, com.artisol.teneo.studio.api.models.EngineUserInput engineInputModel)
List<UUID>
getTriggerMatchingCondition(UUID taskId)
InputStream
getXmlExport(UUID taskId)
List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>
reloadEngine(UUID solutionId)
com.artisol.teneo.engine.manager.api.models.EngineStartedSession
restartEngineSession(UUID solutionId)
List<com.artisol.teneo.engine.manager.api.models.EngineLogMessage>
shutdownEngine(UUID solutionId)
void
startEngine(UUID solutionId, boolean stable)
com.artisol.teneo.engine.manager.api.models.EngineStartedSession
startEngineSession(UUID solutionId)
com.artisol.teneo.engine.manager.api.models.EngineStoppedSession
stopEngineSession(UUID solutionId)
-
-
-
Method Detail
-
getEngines
public List<UUID> getEngines() throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEngines
in 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:
getEngineMessages
in 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:
getEngineStatus
in 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:
shutdownEngine
in 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:
startEngine
in 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:
reloadEngine
in 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:
stopEngineSession
in 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:
startEngineSession
in 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:
restartEngineSession
in 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:
beginXmlExport
in 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:
getXmlExport
in 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:
getEngineResponseForInput
in 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:
getMatchingTriggersForInput
in 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:
beginTriggerMatchingCondition
in 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:
getTriggerMatchingCondition
in interfacecom.artisol.teneo.studio.api.resources.EnginesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-