public class Argument extends Object
| Constructor | Description |
|---|---|
Argument() |
| Modifier and Type | Method | Description |
|---|---|---|
Boolean |
isSecret() |
Get flag to indicate whether the argument represents a secret and want to be removed from build logs.
|
String |
name() |
Get the name of the argument.
|
String |
value() |
Get the value of the argument.
|
Argument |
withIsSecret(Boolean isSecret) |
Set flag to indicate whether the argument represents a secret and want to be removed from build logs.
|
Argument |
withName(String name) |
Set the name of the argument.
|
Argument |
withValue(String value) |
Set the value of the argument.
|
public String name()
public Argument withName(String name)
name - the name value to setpublic String value()
public Argument withValue(String value)
value - the value value to setpublic Boolean isSecret()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/