All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
PathInfo |
addFileLine(PathInfoType type,
NutsId id,
Path filePath,
ReplaceString commentLine,
String contentToAdd,
ReplaceString header) |
PathInfo[] |
addScript(NdiScriptOptions options,
String[] all) |
protected int |
compareIconExtensions(String a,
String b) |
protected int |
compareIconPaths(String a,
String b) |
PathInfo[] |
createArtifactScript(NdiScriptOptions options) |
PathInfo[] |
createBootScripts(NdiScriptOptions options) |
protected abstract FreeDesktopEntryWriter |
createFreeDesktopEntryWriter() |
PathInfo[] |
createLaunchTermShortcut(NutsDesktopIntegrationItem nutsDesktopIntegrationItem,
NdiScriptOptions options,
String fileName,
String name) |
PathInfo[] |
createLaunchTermShortcutGlobal(NutsDesktopIntegrationItem nutsDesktopIntegrationItem,
NdiScriptOptions options) |
String |
createNutsEnvString(NdiScriptOptions options,
boolean updateEnv,
boolean updatePATH) |
protected abstract String |
createNutsScriptContent(NutsId fnutsId,
NdiScriptOptions options) |
PathInfo[] |
createShortcut(NutsDesktopIntegrationItem nutsDesktopIntegrationItem,
NdiScriptOptions options) |
PathInfo[] |
createShortcut(NutsDesktopIntegrationItem nutsDesktopIntegrationItem,
NutsId id,
String path,
FreeDesktopEntry.Group shortcut) |
String |
dblQte(String line) |
abstract String |
getBashrcName() |
Path |
getBinScriptFile(String name,
NdiScriptOptions options) |
abstract String |
getCallScriptCommand(String path,
String... args) |
protected abstract ReplaceString |
getCommentLineConfigHeader() |
protected String |
getDefaultIconPath() |
NutsSupportMode |
getDesktopIntegrationSupport(NutsDesktopIntegrationItem target) |
protected abstract String |
getExecFileName(String name) |
protected abstract String |
getExportCommand(String[] names) |
Path |
getNutsAppsFolder(String apiVersion,
String switchWorkspaceLocation) |
NdiScriptInfo |
getNutsEnv(NdiScriptOptions options) |
NdiScriptInfo |
getNutsInit(NdiScriptOptions options) |
NdiScriptInfo |
getNutsStart(NdiScriptOptions options) |
NdiScriptInfo |
getNutsTerm(NdiScriptOptions options) |
NdiScriptInfo |
getNutsTermInit(NdiScriptOptions options) |
String |
getPathVarSep() |
abstract String |
getSetVarCommand(String name,
String value) |
abstract String |
getSetVarStaticCommand(String name,
String value) |
protected abstract ReplaceString |
getShebanSh() |
Path |
getShortcutPath(NdiScriptOptions options) |
NdiScriptInfo |
getSysRC(NdiScriptOptions options) |
abstract String |
getTemplateName(String name) |
abstract boolean |
isComments(String line) |
boolean |
isNutsBootId(NutsId nid) |
abstract boolean |
isShortcutFieldNameUserFriendly() |
NutsWorkspaceBootConfig |
loadSwitchWorkspaceLocationConfig(String switchWorkspaceLocation) |
protected boolean |
matchCondition(NutsSupportCondition createDesktop,
NutsSupportMode desktopIntegrationSupport) |
String |
newlineString() |
void |
onPostGlobal(NdiScriptOptions options,
PathInfo[] updatedPaths) |
PathInfo |
removeFileCommented2Lines(PathInfoType type,
NutsId id,
Path filePath,
String commentLine,
boolean force) |
void |
removeNutsScript(String id,
String switchWorkspaceLocation,
NutsSession session) |
protected String |
resolveBestIcon(String... iconPaths) |
String |
resolveIcon(String iconPath,
NutsId appId) |
protected int |
resolveIconExtensionPriority(String extension)
bigger is better
|
String |
resolveShortcutFileName(NutsId id,
NutsDescriptor descriptor,
String fileName,
String name) |
boolean |
saveFile(Path filePath,
String content,
boolean force) |
SimpleScriptBuilder |
scriptBuilderSimple(PathInfoType type,
NutsId anyId,
NdiScriptOptions options) |
FromTemplateScriptBuilder |
scriptBuilderTemplate(String templateName,
PathInfoType type,
NutsId anyId,
NdiScriptOptions options) |
String |
smpQte(String line) |
List<String> |
splitLines(String text) |
PathInfo[] |
switchWorkspace(NdiScriptOptions options) |
abstract String |
toCommentLine(String line) |
abstract String |
trimComments(String line) |
protected abstract String |
varRef(String v) |