public class PublisherHelper extends Object
Constructor and Description |
---|
PublisherHelper(hudson.FilePath workspaceDir,
String sSettingsPath,
String sReportPattern,
boolean bReportCheckField) |
Modifier and Type | Method and Description |
---|---|
hudson.FilePath |
getReportLocation()
Provides the path to the report file.
|
String |
getReportPattern()
Provides pattern to use when looking for report files.
|
Properties |
getSettings()
Provides currently used settings.
|
void |
setLocalSettings(Properties settings)
Replace current settings with given ones.
|
void |
storeLocalSettings(File rootDir)
Saves settings in a file in given target directory.
|
void |
storeLocalSettings(hudson.FilePath rootDir)
Saves settings in a file in given target directory.
|
public PublisherHelper(hudson.FilePath workspaceDir, String sSettingsPath, String sReportPattern, boolean bReportCheckField)
workspaceDir
- the workspacesSettingsPath
- path to the settings file, could be relative to current workspacesReportPattern
- pattern to use when matching report filesbReportCheckField
- whether custom report matching pattern should be usedpublic String getReportPattern()
public hudson.FilePath getReportLocation()
public Properties getSettings()
public void storeLocalSettings(File rootDir)
rootDir
- the directory where to place settingspublic void storeLocalSettings(hudson.FilePath rootDir)
rootDir
- the directory where to place settingspublic void setLocalSettings(Properties settings)
settings
- the settings to useCopyright © 2016. All rights reserved.