Package org.marvelution.jji.sync
Class JiraSyncAction<S extends Saveable & AccessControlled>
- java.lang.Object
-
- org.marvelution.jji.sync.JiraSyncAction<S>
-
- All Implemented Interfaces:
Action
,ModelObject
- Direct Known Subclasses:
JiraSyncAction.BuildJiraSyncAction
,JiraSyncAction.ItemJiraSyncAction
,JiraSyncAction.ViewJiraSyncAction
public abstract class JiraSyncAction<S extends Saveable & AccessControlled> extends Object implements Action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JiraSyncAction.BuildJiraSyncAction
static class
JiraSyncAction.ItemJiraSyncAction
static class
JiraSyncAction.ViewJiraSyncAction
-
Field Summary
Fields Modifier and Type Field Description protected SitesClient
sitesClient
protected S
target
-
Constructor Summary
Constructors Modifier Constructor Description protected
JiraSyncAction(SitesClient sitesClient, S target)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
doSubmit(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
String
getDisplayName()
String
getIconFileName()
Set<JiraSite>
getSites()
S
getTarget()
abstract String
getTargetDisplayName()
String
getUrlName()
protected abstract void
sync(Predicate<JiraSite> siteFilter)
-
-
-
Field Detail
-
sitesClient
protected final SitesClient sitesClient
-
target
protected final S extends Saveable & AccessControlled target
-
-
Constructor Detail
-
JiraSyncAction
protected JiraSyncAction(SitesClient sitesClient, S target)
-
-
Method Detail
-
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
-
getTarget
public S getTarget()
-
getTargetDisplayName
public abstract String getTargetDisplayName()
-
doSubmit
public void doSubmit(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
-