@PublicApi public class Source extends Object implements Comparable<Source>
equals(Object)
method.Modifier and Type | Class and Description |
---|---|
static class |
Source.Type
Source type.
|
Modifier and Type | Field and Description |
---|---|
static Source |
CLUSTER_DEFAULT |
static Source |
DEFAULT |
static Source |
MOUNT_OPTION |
protected Source.Type |
mType |
static Source |
PATH_DEFAULT |
static Source |
REFERENCE |
static Source |
RUNTIME |
static Source |
SYSTEM_PROPERTY |
static Source |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Source other) |
boolean |
equals(Object o) |
Source.Type |
getType() |
int |
hashCode() |
static Source |
siteProperty(String filename)
Creates a site property source with the specified filename.
|
String |
toString() |
public static final Source UNKNOWN
public static final Source DEFAULT
public static final Source CLUSTER_DEFAULT
public static final Source SYSTEM_PROPERTY
public static final Source PATH_DEFAULT
public static final Source RUNTIME
public static final Source MOUNT_OPTION
public static final Source REFERENCE
protected final Source.Type mType
public Source.Type getType()
public static Source siteProperty(String filename)
filename
- the filenamepublic int compareTo(Source other)
compareTo
in interface Comparable<Source>
Copyright © 2023. All Rights Reserved.