blob: 1f719c21ee1fd1af4a92f3fa9a47a3b3b0ea62d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package cbt;
import java.io.*;
public interface Dependency{
// recently added methods that needs default values for old versions to work
public default String moduleKey(){
throw new IncompatibleCbtVersionException("You need to define method moduleKey.");
};
public default long lastModified(){
throw new IncompatibleCbtVersionException("You need to define method lastModified.");
};
// methods that exist for longer which every CBT version in use should have by now, no default values needed
public abstract String show();
public abstract Dependency[] dependenciesArray();
public abstract File[] dependencyClasspathArray();
public abstract File[] exportedClasspathArray();
// deprecated methods
@java.lang.Deprecated
public abstract boolean needsUpdateCompat();
}
|