Package hudson.plugins.sidebar_link
Class LinkAction
- java.lang.Object
-
- hudson.plugins.sidebar_link.LinkAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class LinkAction extends Object implements Action
Simple link.- Author:
- Alan Harder
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ICON_NAME
-
Constructor Summary
Constructors Constructor Description LinkAction(String urlName, String displayName, String iconFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAllowedSchemes()
Object
getAncestor()
String
getDisplayName()
String
getIconFileName()
String
getUnprotectedUrlName()
String
getUrlName()
int
hashCode()
-
-
-
Field Detail
-
DEFAULT_ICON_NAME
public static final String DEFAULT_ICON_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LinkAction
@DataBoundConstructor public LinkAction(String urlName, String displayName, String iconFileName) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-
Method Detail
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getUnprotectedUrlName
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getUnprotectedUrlName()
-
getAncestor
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Object getAncestor()
-
getAllowedSchemes
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getAllowedSchemes()
-
-