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>
CommonCallable
enabling generating and uploading ATX reports remotely.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractReportCallable(ATXConfig config, List<FilePath> reportFiles, EnvVars envVars, TaskListener listener)
Instantiates a newAbstractATXReportHandler.AbstractReportCallable
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
getConfigMap(boolean uploadToServer, boolean injectBuildVars)
Converts the ATX configuration to a map containing all setting names and their current value.TaskListener
getListener()
List<FilePath>
getReportFiles()
-
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRoles, getChannelOrFail, getOpenChannelOrFail
-
-
-
-
Field Detail
-
config
protected final ATXConfig config
ATX config.
-
-
Constructor Detail
-
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 Detail
-
getListener
public TaskListener getListener()
-
getConfigMap
protected Map<String,String> getConfigMap(boolean uploadToServer, boolean injectBuildVars)
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
-
-