blob: c54f9ee00c8a72e35c2d0f83c8b96928cb1c6e27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.component;
import com.yahoo.component.ComponentId;
import com.yahoo.component.chain.ChainedComponent;
public abstract class TaskComponent extends ChainedComponent implements IdempotentTask {
protected TaskComponent(ComponentId id) {
super(id);
}
public String name() {
return getIdString();
}
public abstract boolean converge(TaskContext context);
}
|