public class WhatIfPropertyChange extends Object
| Constructor and Description |
|---|
WhatIfPropertyChange() |
| Modifier and Type | Method and Description |
|---|---|
Object |
after()
Get the value of the property after the deployment is executed.
|
Object |
before()
Get the value of the property before the deployment is executed.
|
List<WhatIfPropertyChange> |
children()
Get nested property changes.
|
String |
path()
Get the path of the property.
|
PropertyChangeType |
propertyChangeType()
Get the type of property change.
|
WhatIfPropertyChange |
withAfter(Object after)
Set the value of the property after the deployment is executed.
|
WhatIfPropertyChange |
withBefore(Object before)
Set the value of the property before the deployment is executed.
|
WhatIfPropertyChange |
withChildren(List<WhatIfPropertyChange> children)
Set nested property changes.
|
WhatIfPropertyChange |
withPath(String path)
Set the path of the property.
|
WhatIfPropertyChange |
withPropertyChangeType(PropertyChangeType propertyChangeType)
Set the type of property change.
|
public String path()
public WhatIfPropertyChange withPath(String path)
path - the path value to setpublic PropertyChangeType propertyChangeType()
public WhatIfPropertyChange withPropertyChangeType(PropertyChangeType propertyChangeType)
propertyChangeType - the propertyChangeType value to setpublic Object before()
public WhatIfPropertyChange withBefore(Object before)
before - the before value to setpublic Object after()
public WhatIfPropertyChange withAfter(Object after)
after - the after value to setpublic List<WhatIfPropertyChange> children()
public WhatIfPropertyChange withChildren(List<WhatIfPropertyChange> children)
children - the children value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/