public interface InjectOperationsInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
injectCDP(byte[] cdpBytes,
java.lang.String filename)
Send the bytes of a CDP (Correlator Deployment Package) to the engine.
|
java.lang.String[] |
injectCDPsFromFile(java.util.List<java.lang.String> filenames)
Inject a number of CDP (Correlator Deployment Package)(s) from a file or stdin.
|
java.lang.String[] |
injectJavaApplication(byte[] jarBytes)
Send the bytes of a Java (JMon) Application jar to the engine.
|
java.lang.String[] |
injectJavaApplicationsFromFile(java.util.List<java.lang.String> filenames)
Inject a number of Java (JMon) Application(s) from a file or stdin.
|
java.lang.String[] |
injectMonitorScript(MonitorScript script)
Send a MonitorScript object to the engine.
|
java.lang.String[] |
injectMonitorScript(MonitorScript script,
java.lang.String filename)
Send a MonitorScript object to the engine.
|
java.lang.String[] |
injectMonitorScriptFromFile(java.util.List<java.lang.String> filenames)
Inject a number of monitors from a file or stdin.
|
java.lang.String[] |
injectMonitorScriptFromFile(java.util.List<java.lang.String> filenames,
boolean utf8)
Inject a number of monitors from a file or stdin.
|
java.lang.String[] |
injectMonitorScriptFromFile(java.lang.String... filenames)
Inject a number of monitors from a file or stdin.
|
void |
setCancelInjectFileRead(boolean newCancelFileReadValue)
Setter for the cancelFileRead property for the Inject operations.
|
java.lang.String[] injectMonitorScriptFromFile(java.lang.String... filenames) throws EngineException
filenames
- Names of files to read MonitorScript text from. A file name "-" is taken to be stdin.EngineException
- Thrown if any exceptions occur in the Client SDK.
This exception may contain warnings.java.lang.String[] injectMonitorScriptFromFile(java.util.List<java.lang.String> filenames) throws EngineException
filenames
- Names of files to read MonitorScript text from. A file name "-" is taken to be stdin.EngineException
- Thrown if any exceptions occur in the Client SDK.
This exception may contain warnings.java.lang.String[] injectMonitorScriptFromFile(java.util.List<java.lang.String> filenames, boolean utf8) throws EngineException
filenames
- Names of files to read MonitorScript text from. A file name "-" is taken to be stdin.utf8
- If true
, the specified files will be read
as UTF-8; otherwise they will be read using the system default encoding
unless they begin with a unicode Byte Order Mark (BOM) character.EngineException
- Thrown if any exceptions occur in the Client SDK.
This exception may contain warnings.java.lang.String[] injectMonitorScript(MonitorScript script) throws EngineException
script
- The MonitorScript object to be sent.EngineException
- When failures happen.
This exception may contain warnings.java.lang.String[] injectMonitorScript(MonitorScript script, java.lang.String filename) throws EngineException
script
- The MonitorScript object to be sent.filename
- The file the monitorscript came from (may be null)EngineException
- When failures happen.
This exception may contain warnings.java.lang.String[] injectJavaApplicationsFromFile(java.util.List<java.lang.String> filenames) throws EngineException
filenames
- Names of jar files to read Java (JMon) Applications from. A file name "-" is taken to be stdin.EngineException
- Thrown if any exceptions occur in the Client SDK.
This exception may contain warnings.java.lang.String[] injectJavaApplication(byte[] jarBytes) throws EngineException
jarBytes
- The byte array of the Jar to be sent.EngineException
- When failures happen.
This exception may contain warnings.java.lang.String[] injectCDPsFromFile(java.util.List<java.lang.String> filenames) throws EngineException
filenames
- Names of v files to read from. A file name "-" is taken to be stdin.EngineException
- Thrown if any exceptions occur in the Client SDK.
This exception may contain warnings.java.lang.String[] injectCDP(byte[] cdpBytes, java.lang.String filename) throws EngineException
cdpBytes
- The byte array of the Jar to be sent.filename
- the name of the file we are injecting from.EngineException
- When failures happen.
This exception may contain warnings.void setCancelInjectFileRead(boolean newCancelFileReadValue)
newCancelFileReadValue
- New value for the cancelFileRead property.Submit a bug or feature
Copyright (c) 2013-2018 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.