Module org.elasticsearch.xcore
Class ActionFactory
java.lang.Object
org.elasticsearch.xpack.core.watcher.actions.ActionFactory
Parses xcontent to a concrete action of the same type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedActionFactory(org.apache.logging.log4j.Logger actionLogger) -
Method Summary
Modifier and TypeMethodDescriptionabstract ExecutableAction<? extends Action> parseExecutable(String watchId, String actionId, org.elasticsearch.xcontent.XContentParser parser) Parses the given xcontent and creates a concrete action
-
Field Details
-
actionLogger
protected final org.apache.logging.log4j.Logger actionLogger
-
-
Constructor Details
-
ActionFactory
protected ActionFactory(org.apache.logging.log4j.Logger actionLogger)
-
-
Method Details
-
parseExecutable
public abstract ExecutableAction<? extends Action> parseExecutable(String watchId, String actionId, org.elasticsearch.xcontent.XContentParser parser) throws IOException Parses the given xcontent and creates a concrete action- Throws:
IOException
-