blob: 9b53d04c80f858786aee2d8c720336af33bc8b84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.versions;
import com.yahoo.component.Version;
/**
* Interface for a version target of some kind of upgrade.
*
* @author mpolden
*/
public interface VersionTarget {
/** The version of this target */
Version version();
/** Returns whether this target is potentially a downgrade */
boolean downgrade();
}
|