public static enum Cloud.SigninState extends java.lang.Enum<Cloud.SigninState>
Enum Constant and Description |
---|
DISCONNECTED |
NO_SIGNIN_REQUIRED |
SIGNED_IN |
SIGNED_OUT |
SIGNIN_DECLINED |
SIGNIN_FAILED |
SIGNING_IN |
UNAUTHENTICATED |
Modifier and Type | Method and Description |
---|---|
boolean |
canDownload()
Can download issues without asking to sign in
|
boolean |
canUpload()
Can upload issues without asking to sign in
|
boolean |
couldSignIn()
Could ask to sign in if new issues to upload found
|
boolean |
shouldAskToSignIn()
Should ask to sign in if new issues to upload found
|
java.lang.String |
toString() |
static Cloud.SigninState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cloud.SigninState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cloud.SigninState NO_SIGNIN_REQUIRED
public static final Cloud.SigninState UNAUTHENTICATED
public static final Cloud.SigninState SIGNING_IN
public static final Cloud.SigninState SIGNED_IN
public static final Cloud.SigninState SIGNIN_FAILED
public static final Cloud.SigninState SIGNIN_DECLINED
public static final Cloud.SigninState SIGNED_OUT
public static final Cloud.SigninState DISCONNECTED
public static Cloud.SigninState[] values()
for (Cloud.SigninState c : Cloud.SigninState.values()) System.out.println(c);
public static Cloud.SigninState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean canDownload()
public boolean canUpload()
public boolean shouldAskToSignIn()
public boolean couldSignIn()
public java.lang.String toString()
toString
in class java.lang.Enum<Cloud.SigninState>
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.