Class AbstractATXReportHandler.AbstractReportCallable<T>
java.lang.Object
jenkins.security.MasterToSlaveCallable<T,IOException>
de.tracetronic.jenkins.plugins.ecutest.report.atx.AbstractATXReportHandler.AbstractReportCallable<T>
- Type Parameters:
T
- the genericCallable
return type
- All Implemented Interfaces:
hudson.remoting.Callable<T,
,IOException> Serializable
,org.jenkinsci.remoting.RoleSensitive
- Enclosing class:
- AbstractATXReportHandler
protected abstract static class AbstractATXReportHandler.AbstractReportCallable<T>
extends MasterToSlaveCallable<T,IOException>
Common
Callable
enabling generating and uploading ATX reports remotely.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractReportCallable
(ATXConfig config, List<FilePath> reportFiles, EnvVars envVars, TaskListener listener) Instantiates a newAbstractATXReportHandler.AbstractReportCallable
. -
Method Summary
Modifier and TypeMethodDescriptiongetConfigMap
(boolean uploadToServer, boolean injectBuildVars) Converts the ATX configuration to a map containing all setting names and their current value.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
call, getChannelOrFail, getOpenChannelOrFail
-
Field Details
-
config
ATX config.
-
-
Constructor Details
-
AbstractReportCallable
public AbstractReportCallable(ATXConfig config, List<FilePath> reportFiles, EnvVars envVars, TaskListener listener) Instantiates a newAbstractATXReportHandler.AbstractReportCallable
.- Parameters:
config
- the ATX configurationreportFiles
- the list of TRF filesenvVars
- the environment variableslistener
- the listener
-
-
Method Details
-
getReportFiles
-
getListener
-
getConfigMap
Converts the ATX configuration to a map containing all setting names and their current value. Parameterized values are expanded by given environment variables.- Parameters:
uploadToServer
- specifies whether ATX upload is enabled or notinjectBuildVars
- specifies whether to inject common build variables as ATX constants- Returns:
- the configuration map
-