public class LifetimeAction extends Object
| Constructor and Description |
|---|
LifetimeAction() |
| Modifier and Type | Method and Description |
|---|---|
Action |
action()
Get the action value.
|
Trigger |
trigger()
Get the trigger value.
|
LifetimeAction |
withAction(Action action)
Set the action value.
|
LifetimeAction |
withTrigger(Trigger trigger)
Set the trigger value.
|
public Trigger trigger()
public LifetimeAction withTrigger(Trigger trigger)
trigger - the trigger value to setpublic Action action()
public LifetimeAction withAction(Action action)
action - the action 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.
*/