Package de.f0rce.ace.util
Class AceCustomModeRule
java.lang.Object
de.f0rce.ace.util.AceCustomModeRule
public class AceCustomModeRule
extends java.lang.Object
Ace Modes can be created on a "set-what-you-need" basis. Please read the documentation on
creating a ace mode and use the provided setters. If something is missing make sure to open an
issue over at the GitHub Repository.
- Author:
- David "F0rce" Dodlek
- See Also:
- Creating or Extending an Edit Mode, GitHub Repository
-
Constructor Summary
Constructors Constructor Description AceCustomModeRule()
-
Method Summary
Modifier and Type Method Description AceCustomModeTokens
getDefaultToken()
java.lang.String
getNext()
java.lang.String
getRegex()
AceCustomModeTokens
getToken()
java.util.ArrayList<AceCustomModeTokens>
getTokens()
void
setDefaultToken(AceCustomModeTokens defaultToken)
void
setNext(java.lang.String next)
void
setRegex(java.lang.String regex)
void
setToken(AceCustomModeTokens token)
void
setTokens(AceCustomModeTokens... tokens)
-
Constructor Details
-
AceCustomModeRule
public AceCustomModeRule()
-
-
Method Details
-
setToken
- Parameters:
token
-AceCustomModeTokens
-
getToken
- Returns:
AceCustomModeTokens
-
setTokens
- Parameters:
tokens
- AceCustomModeTokens[]
-
getTokens
- Returns:
ArrayList
-
setRegex
public void setRegex(java.lang.String regex)- Parameters:
regex
-String
-
getRegex
public java.lang.String getRegex()- Returns:
String
-
setNext
public void setNext(java.lang.String next)- Parameters:
next
-String
-
getNext
public java.lang.String getNext()- Returns:
String
-
setDefaultToken
- Parameters:
defaultToken
-AceCustomModeTokens
-
getDefaultToken
- Returns:
AceCustomModeTokens
-