Class ValidateCallable
java.lang.Object
jenkins.MasterToSlaveFileCallable<ValidationResult>
io.jenkins.plugins.xmleditor.steps.ValidateCallable
- All Implemented Interfaces:
FilePath.FileCallable<ValidationResult>,Serializable,ControllerToAgentFileCallable<ValidationResult>,org.jenkinsci.remoting.RoleSensitive
Validates a workspace file (or text) against an optional XSD from the workspace, on the agent.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreport(ValidationResult result, String name, PrintStream logger, boolean failOnError) Prints the outcome and, when requested, fails on errors.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jenkins.agents.ControllerToAgentFileCallable
checkRoles
-
Constructor Details
-
ValidateCallable
-
-
Method Details
-
invoke
- Throws:
IOException
-
report
public static void report(ValidationResult result, String name, PrintStream logger, boolean failOnError) throws AbortException Prints the outcome and, when requested, fails on errors.- Throws:
AbortException
-