@PublicApi public class Source extends Object implements Comparable<Source>
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 |
RUNTIME |
static Source |
SYSTEM_PROPERTY |
static Source |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Source other) |
Source.Type |
getType() |
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
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.