public abstract class TaskRepositoryType<T extends TaskRepository> extends java.lang.Object implements TaskRepositorySubtype, java.lang.Comparable<TaskRepositoryType>
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<TaskRepositoryType> |
EP_NAME |
Constructor and Description |
---|
TaskRepositoryType() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TaskRepositoryType other) |
abstract TaskRepositoryEditor |
createEditor(T repository,
Project project,
Consumer<T> changeListener) |
abstract TaskRepository |
createRepository() |
TaskRepository |
createRepository(TaskRepositorySubtype subtype) |
java.lang.String |
getAdvertiser() |
java.util.List<TaskRepositorySubtype> |
getAvailableSubtypes() |
abstract javax.swing.Icon |
getIcon() |
abstract java.lang.String |
getName() |
java.util.EnumSet<TaskState> |
getPossibleTaskStates()
Deprecated.
Use
TaskRepository.getAvailableTaskStates(Task) instead. |
abstract java.lang.Class<T> |
getRepositoryClass() |
static TaskRepositoryType[] |
getRepositoryTypes() |
int |
getSortOrder() |
public static final ExtensionPointName<TaskRepositoryType> EP_NAME
public static TaskRepositoryType[] getRepositoryTypes()
public abstract java.lang.String getName()
getName
in interface TaskRepositorySubtype
public abstract javax.swing.Icon getIcon()
getIcon
in interface TaskRepositorySubtype
public java.lang.String getAdvertiser()
public abstract TaskRepositoryEditor createEditor(T repository, Project project, Consumer<T> changeListener)
public java.util.List<TaskRepositorySubtype> getAvailableSubtypes()
public TaskRepository createRepository(TaskRepositorySubtype subtype)
public abstract TaskRepository createRepository()
createRepository
in interface TaskRepositorySubtype
public abstract java.lang.Class<T> getRepositoryClass()
@Deprecated public java.util.EnumSet<TaskState> getPossibleTaskStates()
TaskRepository.getAvailableTaskStates(Task)
instead.TaskRepository.setTaskState(Task, CustomTaskState)
public int getSortOrder()
public int compareTo(TaskRepositoryType other)
compareTo
in interface java.lang.Comparable<TaskRepositoryType>