Class GitHubErrorsAction
- java.lang.Object
-
- com.github.kostyasha.github.integration.generic.errors.GitHubErrorsAction
-
- All Implemented Interfaces:
Action
,ModelObject
,ProminentProjectAction
public class GitHubErrorsAction extends Object implements ProminentProjectAction
Action that reports errors on job view page. Consists of sinle Actions.- Author:
- Kanstantsin Shautsou
-
-
Constructor Summary
Constructors Constructor Description GitHubErrorsAction(String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addOrReplaceError(GitHubError a)
String
getDescription()
String
getDisplayName()
Set<GitHubError>
getErrors()
Set<GitHubError>
getErrorsSnapshot()
String
getIconFileName()
String
getUrlName()
boolean
hasVisibleErrors()
boolean
removeErrors(Class<? extends GitHubError> clazz)
-
-
-
Constructor Detail
-
GitHubErrorsAction
public GitHubErrorsAction(@NonNull String description)
-
-
Method Detail
-
hasVisibleErrors
public boolean hasVisibleErrors()
-
getDescription
@NonNull public String getDescription()
-
getErrors
@NonNull public Set<GitHubError> getErrors()
-
addOrReplaceError
public boolean addOrReplaceError(@NonNull GitHubError a)
-
removeErrors
public boolean removeErrors(@NonNull Class<? extends GitHubError> clazz)
-
getErrorsSnapshot
@NonNull public Set<GitHubError> getErrorsSnapshot()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-