Class Provider
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<Provider>
-
- io.jenkins.plugins.reporter.model.Provider
-
- All Implemented Interfaces:
Describable<Provider>
,Serializable
public abstract class Provider extends AbstractDescribableImpl<Provider> implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Provider.ProviderDescriptor
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ReportParser
createParser()
String
getActualId()
Returns the actual ID of the tool.Provider.ProviderDescriptor
getDescriptor()
String
getId()
String
getPattern()
String
getSymbolName()
Returns theSymbol
name of this provider.protected Object
readResolve()
Called after de-serialization to retain backward compatibility.Report
scan(Run<?,?> run, FilePath workspace, LogHandler logger)
void
setId(String id)
Sets the id of this provider.void
setPattern(String pattern)
Sets the Ant file-set pattern of files to work with.
-
-
-
Method Detail
-
readResolve
protected Object readResolve()
Called after de-serialization to retain backward compatibility.- Returns:
- this
-
setId
@DataBoundSetter public void setId(String id)
Sets the id of this provider.- Parameters:
id
- the id
-
getId
public String getId()
-
getActualId
public String getActualId()
Returns the actual ID of the tool. If no user defined ID is given, then the default ID is returned.- Returns:
- the ID
- See Also:
setId(String)
-
setPattern
@DataBoundSetter public void setPattern(String pattern)
Sets the Ant file-set pattern of files to work with. If the pattern is undefined then the console log is scanned.- Parameters:
pattern
- the pattern to use
-
getPattern
@CheckForNull public String getPattern()
-
getSymbolName
public String getSymbolName()
Returns theSymbol
name of this provider.- Returns:
- the name of this provider, or "undefined" if no symbol has been defined
-
createParser
public abstract ReportParser createParser()
-
getDescriptor
public Provider.ProviderDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Provider>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<Provider>
-
scan
public Report scan(Run<?,?> run, FilePath workspace, LogHandler logger)
-
-