|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.utils.plugin.ui.UIComponentSupport<P>
public abstract class UIComponentSupport<P extends Action>
Support for UI components.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
log
|
protected P |
parent
|
| Constructor Summary | |
|---|---|
protected |
UIComponentSupport()
|
protected |
UIComponentSupport(P parent)
|
| Method Summary | |
|---|---|
protected void |
checkPermission(Permission perm)
|
String |
getBaseRestURI()
|
String |
getHelpPath()
|
String |
getIconFileName()
Returns our parent's icon. |
protected String |
getIconFileName(String name)
|
String |
getIconPath()
|
String |
getImagesPath()
|
String |
getPageTitle()
|
P |
getParent()
|
String |
getPluginName()
|
String |
getPluginPath()
|
protected PluginWrapper |
getPluginWrapper()
Returns the PluginWrapper for the current class context. |
String |
getRootPath()
|
Object |
getSidePanelOwner()
The object which owns the sidepanel.jelly view. |
String |
getUrlName()
No URL. |
Permission |
getViewPermission()
The permission needed to render the components view. |
protected void |
redirect(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
String location)
|
protected void |
redirectAncestor(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
Class type)
|
protected void |
redirectAncestor(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
Object obj)
|
protected void |
redirectParent(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
|
protected void |
redirectSelf(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName |
| Field Detail |
|---|
protected final org.slf4j.Logger log
protected final P extends Action parent
| Constructor Detail |
|---|
protected UIComponentSupport(P parent)
protected UIComponentSupport()
| Method Detail |
|---|
public P getParent()
public String getIconFileName()
getIconFileName in interface Actionprotected String getIconFileName(String name)
public String getUrlName()
getUrlName in interface Actionprotected PluginWrapper getPluginWrapper()
PluginWrapper for the current class context.
IllegalStateException - Unable to determine plugin wrapper source.@JellyAccessible public String getRootPath()
@JellyAccessible public String getPluginName()
@JellyAccessible public String getPluginPath()
@JellyAccessible public String getImagesPath()
@JellyAccessible public String getHelpPath()
@JellyAccessible public String getIconPath()
@JellyAccessible public Object getSidePanelOwner()
@JellyAccessible public Permission getViewPermission()
@JellyAccessible public String getPageTitle()
protected void checkPermission(Permission perm)
protected void redirect(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
String location)
throws IOException
IOException
protected void redirectAncestor(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
Class type)
throws IOException
IOException
protected void redirectAncestor(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp,
Object obj)
throws IOException
IOException
protected void redirectParent(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws IOException
IOException
protected void redirectSelf(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
throws IOException
IOException@JellyAccessible public String getBaseRestURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||