public static enum GeoServerRESTPublisher.UploadMethod extends Enum<GeoServerRESTPublisher.UploadMethod>
| Enum Constant and Description |
|---|
external
Deprecated.
|
EXTERNAL
forgo upload, and use an existing file on the server.
|
file
Deprecated.
|
FILE
directly upload a file from a local source.
|
url
Deprecated.
|
URL
indirectly upload a file from a remote source.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a lowercase representation of the parameter value, suitable to construct the rest call.
|
static GeoServerRESTPublisher.UploadMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoServerRESTPublisher.UploadMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoServerRESTPublisher.UploadMethod FILE
@Deprecated public static final GeoServerRESTPublisher.UploadMethod file
public static final GeoServerRESTPublisher.UploadMethod URL
@Deprecated public static final GeoServerRESTPublisher.UploadMethod url
public static final GeoServerRESTPublisher.UploadMethod EXTERNAL
@Deprecated public static final GeoServerRESTPublisher.UploadMethod external
public static GeoServerRESTPublisher.UploadMethod[] values()
for (GeoServerRESTPublisher.UploadMethod c : GeoServerRESTPublisher.UploadMethod.values()) System.out.println(c);
public static GeoServerRESTPublisher.UploadMethod 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 String toString()
toString in class Enum<GeoServerRESTPublisher.UploadMethod>Copyright © 2007–2016 PDOK. All rights reserved.