com.atlassian.theplugin.commons.crucible.api.model
Enum PredefinedFilter

java.lang.Object
  extended by java.lang.Enum<PredefinedFilter>
      extended by com.atlassian.theplugin.commons.crucible.api.model.PredefinedFilter
All Implemented Interfaces:
CrucibleFilter, java.io.Serializable, java.lang.Comparable<PredefinedFilter>

public enum PredefinedFilter
extends java.lang.Enum<PredefinedFilter>
implements CrucibleFilter


Enum Constant Summary
Abandoned
           
Closed
           
Drafts
           
Open
           
OpenInIde
           
OutForReview
           
RequireMyApproval
           
ToReview
           
ToSummarize
           
 
Method Summary
 java.lang.String getFilterName()
           
 java.lang.String getFilterUrl()
           
 boolean isRemote()
           
static PredefinedFilter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PredefinedFilter[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ToReview

public static final PredefinedFilter ToReview

RequireMyApproval

public static final PredefinedFilter RequireMyApproval

ToSummarize

public static final PredefinedFilter ToSummarize

OutForReview

public static final PredefinedFilter OutForReview

Drafts

public static final PredefinedFilter Drafts

Open

public static final PredefinedFilter Open

Closed

public static final PredefinedFilter Closed

Abandoned

public static final PredefinedFilter Abandoned

OpenInIde

public static final PredefinedFilter OpenInIde
Method Detail

values

public static final PredefinedFilter[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PredefinedFilter c : PredefinedFilter.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PredefinedFilter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getFilterUrl

public java.lang.String getFilterUrl()
Specified by:
getFilterUrl in interface CrucibleFilter

getFilterName

public java.lang.String getFilterName()
Specified by:
getFilterName in interface CrucibleFilter

isRemote

public boolean isRemote()


Copyright © 2008-2009 Atlassian Pty Ltd. All Rights Reserved.