Package jenkins.plugins.horreum
Class BaseExecutionContext<R>
java.lang.Object
jenkins.security.MasterToSlaveCallable<R,RuntimeException>
jenkins.plugins.horreum.BaseExecutionContext<R>
- All Implemented Interfaces:
hudson.remoting.Callable<R,
,RuntimeException> Serializable
,org.jenkinsci.remoting.RoleSensitive
- Direct Known Subclasses:
HorreumExpectExecutionContext
,HorreumUploadExecutionContext
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AuthenticationType
protected final com.cloudbees.plugins.credentials.Credentials
protected final String
protected PrintStream
protected final OutputStream
protected final String
-
Constructor Summary
ConstructorsConstructorDescriptionBaseExecutionContext
(String url, String authenticationType, String credentials, PrintStream logger) -
Method Summary
Modifier and TypeMethodDescriptioncall()
protected io.hyperfoil.tools.HorreumClient
protected abstract R
invoke
(io.hyperfoil.tools.HorreumClient client) protected PrintStream
logger()
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail
-
Field Details
-
url
-
authenticationType
-
credentialsID
-
retries
-
remoteLogger
-
credentials
protected final com.cloudbees.plugins.credentials.Credentials credentials -
localLogger
-
-
Constructor Details
-
BaseExecutionContext
public BaseExecutionContext(String url, String authenticationType, String credentials, PrintStream logger)
-
-
Method Details
-
logger
-
call
-
invoke
-
createClient
protected io.hyperfoil.tools.HorreumClient createClient()
-