public static enum Template.Status extends Enum<Template.Status>
| Enum Constant and Description | 
|---|
| ABANDONEDthe download has been cancelled/aborted. | 
| DOWNLOAD_ERRORthe download has reached an error state. | 
| DOWNLOAD_IN_PROGRESSthe download is in progress | 
| DOWNLOADEDthe resource has been downloaded on secondary storage. | 
| NOT_DOWNLOADEDthe download hasn't started. | 
| NOT_UPLOADEDthe resource upload work hasn't started yet | 
| UNKNOWNstatus of download is not known. | 
| UNRECOGNIZED | 
| UPLOAD_ERRORthe resource upload has reached error. | 
| UPLOAD_IN_PROGRESSthe resource upload is in progress. | 
| UPLOADEDthe resource has been uploaded | 
| Modifier and Type | Method and Description | 
|---|---|
| static Template.Status | fromValue(String state) | 
| static Template.Status | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Template.Status[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Template.Status UNKNOWN
public static final Template.Status ABANDONED
public static final Template.Status DOWNLOAD_ERROR
public static final Template.Status NOT_DOWNLOADED
public static final Template.Status DOWNLOAD_IN_PROGRESS
public static final Template.Status DOWNLOADED
public static final Template.Status UPLOADED
public static final Template.Status NOT_UPLOADED
public static final Template.Status UPLOAD_ERROR
public static final Template.Status UPLOAD_IN_PROGRESS
public static final Template.Status UNRECOGNIZED
public static Template.Status[] values()
for (Template.Status c : Template.Status.values()) System.out.println(c);
public static Template.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Template.Status fromValue(String state)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.