Class LogFlowProjectAction
- java.lang.Object
-
- io.jenkins.plugins.LogFlowVisualizer.actions.LogFlowProjectAction
-
- All Implemented Interfaces:
Action
,ModelObject
,SimpleBuildStep.LastBuildAction
public class LogFlowProjectAction extends Object implements SimpleBuildStep.LastBuildAction
-
-
Constructor Summary
Constructors Constructor Description LogFlowProjectAction(Run<?,?> run, List<LogFlowInput> configurations, File cacheFolder, Boolean compareAgainstLastStableBuild)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LineOutput>
getAllCacheFromFile()
File
getBuildFolderFromBuildNumber(int buildNumber)
File
getCacheFile()
List<LogFlowInput>
getConfigurations()
String
getDisplayName()
used for displaying action in the sidebarList<OutputHistoryMarked>
getHistoryMarkedLines()
String
getIconFileName()
String
getJenkinsRootUrl()
List<LineOutput>
getOnlyMarkedLinesToDisplay()
Collection<? extends Action>
getProjectActions()
File
getProjectDirFile()
Run<?,?>
getRun()
String
getUrlName()
-
-
-
Constructor Detail
-
LogFlowProjectAction
public LogFlowProjectAction(Run<?,?> run, List<LogFlowInput> configurations, File cacheFolder, Boolean compareAgainstLastStableBuild)
-
-
Method Detail
-
getCacheFile
public File getCacheFile()
-
getAllCacheFromFile
public List<LineOutput> getAllCacheFromFile()
-
getHistoryMarkedLines
public List<OutputHistoryMarked> getHistoryMarkedLines()
-
getOnlyMarkedLinesToDisplay
public List<LineOutput> getOnlyMarkedLinesToDisplay()
-
getProjectDirFile
public File getProjectDirFile()
-
getBuildFolderFromBuildNumber
public File getBuildFolderFromBuildNumber(int buildNumber)
-
getJenkinsRootUrl
public String getJenkinsRootUrl()
-
getRun
public Run<?,?> getRun()
-
getConfigurations
public List<LogFlowInput> getConfigurations()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
used for displaying action in the sidebar- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- Returns:
- null because we don't use it
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getProjectActions
public Collection<? extends Action> getProjectActions()
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-
-