public interface CoreHunterRunServices
Modifier and Type | Method and Description |
---|---|
void |
deleteCoreHunterRun(String uniqueIdentifier)
Deletes the current CoreHunterRun and tries to stop the run if it is
still running, This method guarantees to be able to delete the run
regardless of if it can be stopped.
|
CoreHunterRun |
executeCoreHunter(CoreHunterRunArguments arguments)
Executes a Core Hunter run with the given arguments
|
List<CoreHunterRun> |
getAllCoreHunterRuns()
Gets the current information about all Core Hunter runs
|
CoreHunterRun |
getCoreHunterRun(String uniqueIdentifier)
Gets the current information about the Core Hunter run
|
String |
getErrorMessage(String uniqueIdentifier)
Gets the current error message provides by the run
|
String |
getErrorStream(String uniqueIdentifier)
Gets the current error stream provides by the run
|
String |
getOutputStream(String uniqueIdentifier)
Gets the current output stream provides by the run
|
org.jamesframework.core.subset.SubsetSolution |
getSubsetSolution(String uniqueIdentifier)
Depending on the status the method returns the solution of the run.
|
boolean |
removeCoreHunterRun(String uniqueIdentifier)
Removes the current CoreHunterRun and tries to stop the run if it is
still running, If the run can not be removed, the client will need to
check at date or use the
removeCoreHunterRun(String) method |
CoreHunterRun executeCoreHunter(CoreHunterRunArguments arguments)
arguments
- the Core Hunter Run ArgumentsCoreHunterRun getCoreHunterRun(String uniqueIdentifier)
uniqueIdentifier
- the unique identifier of the run that was provided on
executionboolean removeCoreHunterRun(String uniqueIdentifier)
removeCoreHunterRun(String)
methoduniqueIdentifier
- the unique identifier of the run that was provided on
executiontrue
if the CoreHunterRun was successfully removed,
false
if the run can not be removed.void deleteCoreHunterRun(String uniqueIdentifier)
uniqueIdentifier
- the unique identifier of the run that was provided on
executionList<CoreHunterRun> getAllCoreHunterRuns()
String getOutputStream(String uniqueIdentifier)
uniqueIdentifier
- the unique identifier of the run that was provided on
executionString getErrorStream(String uniqueIdentifier)
uniqueIdentifier
- the unique identifier of the run that was provided on
executionString getErrorMessage(String uniqueIdentifier)
uniqueIdentifier
- the unique identifier of the run that was provided on
executionorg.jamesframework.core.subset.SubsetSolution getSubsetSolution(String uniqueIdentifier)
null
.uniqueIdentifier
- the unique identifier of the run that was provided on
executionCopyright © 2016. All rights reserved.