Class AvatarProperty
java.lang.Object
hudson.model.UserProperty
net.hurstfrost.jenkins.avatar.user.AvatarProperty
- All Implemented Interfaces:
ExtensionPoint,Action,Describable<UserProperty>,ModelObject,ReconfigurableDescribable<UserProperty>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.UserProperty
user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoImage(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Used to serve images as part ofAvatarResolver.booleanreconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) Methods inherited from class hudson.model.UserProperty
all, allByCategoryClass, getDescriptor, reconfigure, setUser
-
Field Details
-
MAX_AVATAR_IMAGE_SIZE
public static final int MAX_AVATAR_IMAGE_SIZE- See Also:
-
-
Constructor Details
-
AvatarProperty
@DataBoundConstructor public AvatarProperty()
-
-
Method Details
-
getAvatarUrl
-
isHasAvatar
public boolean isHasAvatar() -
doImage
public void doImage(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Used to serve images as part ofAvatarResolver. -
reconfigure
public UserProperty reconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject form) - Specified by:
reconfigurein interfaceReconfigurableDescribable<UserProperty>- Overrides:
reconfigurein classUserProperty
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-