@Experimental @Generated @ThreadSafe @Immutable public class ActivationFile extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ActivationFile.Builder
Builder class used to create ActivationFile instances.
|
Modifier and Type | Method and Description |
---|---|
String |
getExists()
The name of the file that should exist to activate a profile.
|
String |
getMissing()
The name of the file that should be missing to activate a
profile.
|
static ActivationFile.Builder |
newBuilder()
Creates a new
ActivationFile builder instance. |
static ActivationFile.Builder |
newBuilder(ActivationFile from)
Creates a new
ActivationFile builder instance using the specified object as a basis. |
static ActivationFile.Builder |
newBuilder(ActivationFile from,
boolean forceCopy)
Creates a new
ActivationFile builder instance using the specified object as a basis. |
static ActivationFile.Builder |
newBuilder(boolean withDefaults)
Creates a new
ActivationFile builder instance using default values or not. |
static ActivationFile |
newInstance()
Creates a new
ActivationFile instance. |
static ActivationFile |
newInstance(boolean withDefaults)
Creates a new
ActivationFile instance using default values or not. |
ActivationFile.Builder |
with()
Creates a new builder with this object as the basis.
|
ActivationFile |
withExists(String exists)
Creates a new
ActivationFile instance using the specified exists. |
ActivationFile |
withMissing(String missing)
Creates a new
ActivationFile instance using the specified missing. |
public String getMissing()
String
public String getExists()
String
@Nonnull public ActivationFile.Builder with()
Builder
@Nonnull public ActivationFile withMissing(String missing)
ActivationFile
instance using the specified missing.missing
- the new String
to useActivationFile
with the specified missing@Nonnull public ActivationFile withExists(String exists)
ActivationFile
instance using the specified exists.exists
- the new String
to useActivationFile
with the specified exists@Nonnull public static ActivationFile newInstance()
ActivationFile
instance.
Equivalent to newInstance( true )
.ActivationFile
newInstance(boolean)
@Nonnull public static ActivationFile newInstance(boolean withDefaults)
ActivationFile
instance using default values or not.
Equivalent to newBuilder( withDefaults ).build()
.withDefaults
- the boolean indicating whether default values should be usedActivationFile
@Nonnull public static ActivationFile.Builder newBuilder()
ActivationFile
builder instance.
Equivalent to newBuilder( true )
.Builder
newBuilder(boolean)
@Nonnull public static ActivationFile.Builder newBuilder(boolean withDefaults)
ActivationFile
builder instance using default values or not.withDefaults
- the boolean indicating whether default values should be usedBuilder
@Nonnull public static ActivationFile.Builder newBuilder(ActivationFile from)
ActivationFile
builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false )
.from
- the ActivationFile
instance to use as a basisBuilder
@Nonnull public static ActivationFile.Builder newBuilder(ActivationFile from, boolean forceCopy)
ActivationFile
builder instance using the specified object as a basis.from
- the ActivationFile
instance to use as a basisforceCopy
- the boolean indicating if a copy should be forcedBuilder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.