blob: 43a44982b1077ff2527f00fec47df3bd18ad8645 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision;
/**
* The context passed to the node repo when activating a node.
*
* @author bratseth
*/
public class ActivationContext {
private final long generation;
public ActivationContext(long generation) {
this.generation = generation;
}
/** Returns the application config generation we are activating */
public long generation() { return generation; }
}
|