org.sonatype.gshell.util.pref
Class PreferenceDescriptor

java.lang.Object
  extended by org.sonatype.gshell.util.AnnotationDescriptor
      extended by org.sonatype.gshell.util.pref.PreferenceDescriptor

public class PreferenceDescriptor
extends AnnotationDescriptor

Descriptor for Preference annotations.

Since:
2.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.sonatype.gshell.util.AnnotationDescriptor
UNINITIALIZED_CHAR, UNINITIALIZED_CLASS, UNINITIALIZED_STRING
 
Constructor Summary
protected PreferenceDescriptor(Preferences base, Preference pref, Setter setter)
           
 
Method Summary
 String buildPath()
           
 String getBasePath()
           
 String getId()
           
 String getName()
           
 String getPath()
           
 Preferences getPreferences()
           
 Setter getSetter()
           
 Preference getSpec()
           
 Class getType()
           
 boolean isSystem()
           
 void setBasePath(String path)
           
 
Methods inherited from class org.sonatype.gshell.util.AnnotationDescriptor
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreferenceDescriptor

protected PreferenceDescriptor(Preferences base,
                               Preference pref,
                               Setter setter)
Method Detail

getSpec

public Preference getSpec()

getSetter

public Setter getSetter()

getName

public String getName()

isSystem

public boolean isSystem()

getPath

public String getPath()

getBasePath

public String getBasePath()

setBasePath

public void setBasePath(String path)

getId

public String getId()

getType

public Class getType()

buildPath

public String buildPath()

getPreferences

public Preferences getPreferences()


Copyright © 2008-2011 Sonatype. All Rights Reserved.