com.cloudbees.plugins.credentials
Class UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.UserProperty>
      extended by hudson.model.UserPropertyDescriptor
          extended by com.cloudbees.plugins.credentials.UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
UserCredentialsProvider.UserCredentialsProperty

@Extension
public static class UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl
extends hudson.model.UserPropertyDescriptor

Our user property descriptor.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl()
           
 
Method Summary
 java.lang.String getDisplayName()
          
 boolean isEnabled()
          
 boolean isVisible()
          Whether the credentials should be visible on the user's configure screen.
 hudson.model.UserProperty newInstance(hudson.model.User user)
          
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl

public UserCredentialsProvider.UserCredentialsProperty.DescriptorImpl()
Method Detail

newInstance

public hudson.model.UserProperty newInstance(hudson.model.User user)

Specified by:
newInstance in class hudson.model.UserPropertyDescriptor

getDisplayName

public java.lang.String getDisplayName()

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.model.UserProperty>

isVisible

public boolean isVisible()
Whether the credentials should be visible on the user's configure screen.

Returns:
true if and only if the current request is the current user's configuration screen.

isEnabled

public boolean isEnabled()

Overrides:
isEnabled in class hudson.model.UserPropertyDescriptor


Copyright © 2004-2012. All Rights Reserved.