Enum RemoteCommand
- java.lang.Object
-
- java.lang.Enum<RemoteCommand>
-
- com.smeup.jardis.jariko.lsp.model.RemoteCommand
-
- All Implemented Interfaces:
Serializable,Comparable<RemoteCommand>
public enum RemoteCommand extends Enum<RemoteCommand>
- Author:
- lana
-
-
Enum Constant Summary
Enum Constants Enum Constant Description checkIncludingProgramsdeleteCacheformatgetAstgetJardisInfogetMetadatagetSessionInfogetSourcestartBackgroundIndexingstopBackgroundIndexingvirtualCoachComplete
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<RemoteCommand>getAvailableCommands(Predicate<RemoteCommand> available)com.smeup.jardis.core.lsp.model.CodeActionKindgetCodeActionKind()static List<com.smeup.jardis.core.lsp.model.CodeActionKind>getCodeActionKinds()StringgetCommand()static List<String>getCommands()StringgetTitle()static RemoteCommandvalueOf(String name)Returns the enum constant of this type with the specified name.static RemoteCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
format
public static final RemoteCommand format
-
checkIncludingPrograms
public static final RemoteCommand checkIncludingPrograms
-
getSessionInfo
public static final RemoteCommand getSessionInfo
-
getJardisInfo
public static final RemoteCommand getJardisInfo
-
getSource
public static final RemoteCommand getSource
-
getAst
public static final RemoteCommand getAst
-
getMetadata
public static final RemoteCommand getMetadata
-
deleteCache
public static final RemoteCommand deleteCache
-
startBackgroundIndexing
public static final RemoteCommand startBackgroundIndexing
-
stopBackgroundIndexing
public static final RemoteCommand stopBackgroundIndexing
-
virtualCoachComplete
public static final RemoteCommand virtualCoachComplete
-
-
Method Detail
-
values
public static RemoteCommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RemoteCommand c : RemoteCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RemoteCommand valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getCommand
public String getCommand()
-
getTitle
public String getTitle()
-
getCodeActionKind
public com.smeup.jardis.core.lsp.model.CodeActionKind getCodeActionKind()
-
getCodeActionKinds
public static List<com.smeup.jardis.core.lsp.model.CodeActionKind> getCodeActionKinds()
-
getAvailableCommands
public static List<RemoteCommand> getAvailableCommands(Predicate<RemoteCommand> available)
-
-