Class AbstractTaskAgentRestarter
- java.lang.Object
-
- jenkins.slaves.restarter.SlaveRestarter
-
- de.tracetronic.jenkins.plugins.ecutest.extension.agent.AbstractTaskAgentRestarter
-
- All Implemented Interfaces:
ExtensionPoint
,Serializable
- Direct Known Subclasses:
WindowsTaskAgentRestarter
,WindowsTaskSlaveRestarter
public abstract class AbstractTaskAgentRestarter extends SlaveRestarter
Abstract JNLP agent restarter based on Windows Task Scheduler.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AbstractTaskAgentRestarter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
canWork()
protected abstract String
getTaskName()
void
restart()
-
Methods inherited from class jenkins.slaves.restarter.SlaveRestarter
all
-
-
-
-
Method Detail
-
getTaskName
protected abstract String getTaskName()
-
canWork
public boolean canWork()
- Specified by:
canWork
in classSlaveRestarter
-
restart
public void restart() throws Exception
- Specified by:
restart
in classSlaveRestarter
- Throws:
Exception
-
-