Search

Javascript primitive String

Unicode string.

Attributes

None

Methods

Name Returns
charAt(Number index) String
indexOf(String substring) String
lastIndexOf(String substring) String
match(String regexp) String[]
replace(String regexp, String string2) String
search(String regexp) Number
split(String regexp) String[]
substring(Number start, Number end) String
toLowerCase() String
toUpperCase() String

Returned by

Method Returns
Array.join(String separator) String
Date.toGMTString() String
File.list(Object extension) String[]
FileReader.readAll() String
FileReader.readLine() String
LockingSystem.retrieveAll() String[]
Server.findTagsInUse() String[]
Server.getAllDescriptionsForType(String type) String[]
Server.getAllDisplayNamesForType(String type) String[]
Server.getAllNamesForType(String type) String[]
Server.getCustomPropertyKeys(Object target) String[]
Server.getObjectsURIWithCustomPropertyKey(String key) String[]
Server.getRunningUser() String
Server.getSignatureFingerPrint(Object element) String
Server.getSignatureOwner(Object element) String
Server.getWorkflowTokenState(String token_id) String
Server.toUri(Object object) String
String.charAt(Number index) String
String.indexOf(String substring) String
String.lastIndexOf(String substring) String
String.match(String regexp) String[]
String.replace(String regexp, String string2) String
String.split(String regexp) String[]
String.substring(Number start, Number end) String
String.toLowerCase() String
String.toUpperCase() String
StringRepresentation.toParam() String
System.appendToPath(Object rootPath, String toAdd) String
System.decimalToHex(Number value) String
System.extractDirectory(Object fullPath) String
System.extractFileName(Object fullPath) String
System.extractFileNameExtension(Object fullPath) String
System.extractFileNameWithoutExtension(Object fullPath) String
System.formatBinaryValue(Number value) String
System.formatDate(Date aDate, String pattern) String
System.formatDuration(Number milisecond, boolean showMili, boolean showZero) String
System.formatNumber(Number aNumber, String pattern) String
System.getObjectClassName(Object obj) String
System.getObjectId(Object obj) String
System.getObjectPluginName(Object obj) String
System.getObjectType(Object obj) String
System.getOsName() String
System.getTempDirectory() String
System.nextUUID() String
System.resolveHostName(String hostName) String
System.resolveIpAddress(String ipAddress) String
URL.escapeHost(String ipAddress) String
URL.getContent() String
URL.getHostnameOrIPPatternStr() String
URL.getIPAddressPatternStr() String
URL.getIPv4AddressPatternStr() String
URL.getIPv6AddressPatternStr() String
URL.post() String
URL.postContent(Object content) String
URL.tnamePatternStr() String
URL.unescapeHost(String ipAddress) String

Referenced in

Method Returns
Array.join(String separator) String
Command.executeAndLog(String filename) Number
ConfigurationElement.getAttributeWithKey(String key) Attribute
ConfigurationElement.removeAttributeWithKey(String key) void
ConfigurationElement.setAttributeWithKey(String key, Object value) void
Credential.checkPassword(String otherPassword) boolean
Credential.(String username, String password) void
Credential.(String username, String password) void
Date.(String ) void
Debug.unwatch(String variable) void
Debug.watch(String variable) void
Event.consume(String owner) void
EventGauge.consume(String owner) void
EventSchedule.consume(String owner) void
ExecutionContext.contains(String name) boolean
ExecutionContext.getParameter(String name) Object
ExecutionContext.parameterNames(String name) Array
File.renameTo(String destPathName) boolean
File.write(String content) void
File.(String file) void
FileReader.(String file) void
FileWriter.write(String value) void
FileWriter.writeLine(String value) void
FileWriter.(String file) void
LockingSystem.lock(String lockId, String owner) boolean
LockingSystem.lock(String lockId, String owner) boolean
LockingSystem.lockAndWait(String lockId, String owner) void
LockingSystem.lockAndWait(String lockId, String owner) void
LockingSystem.unlock(String lockId, String owner) void
LockingSystem.unlock(String lockId, String owner) void
LogFileWriter.write(String value) void
LogFileWriter.writeLine(String value) void
LogFileWriter.(String file) void
Policy.exit(String reason) void
Policy.forTag(String value) Object
Policy.getObjectByTag(String value) Object
Policy.stop(String reason) void
PolicyTemplate.apply(String name, Object properties) ch.dunes.scripting.jsmodel.JSPolicy
PolicyTemplate.forTag(String value) Object
PolicyTemplate.getObjectByTag(String value) Object
Properties.get(String key) Object
Properties.put(String key, Object value) void
Properties.remove(String key) Object
ResourceElement.setContentFromFile(String fileName, Object mimeType) void
ResourceElement.writeContentToFile(String fileName) void
Server.createAuthorizationElement(String name, Object ldapElement, String description) AuthorizationElement
Server.createAuthorizationElement(String name, Object ldapElement, String description) AuthorizationElement
Server.createConfigurationElement(Object category, String name) ConfigurationElement
Server.createResourceElement(Object category, String name, Object fileNameOrMime, String mimeType) ResourceElement
Server.createResourceElement(Object category, String name, Object fileNameOrMime, String mimeType) ResourceElement
Server.error(String text, String info) void
Server.error(String text, String info) void
Server.findAllForType(String type, String query) Object[]
Server.findAllForType(String type, String query) Object[]
Server.findForType(String type, String id) Object
Server.findForType(String type, String id) Object
Server.fromUri(String uri) Object
Server.getAllDescriptionsForType(String type) String[]
Server.getAllDisplayNamesForType(String type) String[]
Server.getAllNamesForType(String type) String[]
Server.getAuthorizationElementForName(String name) AuthorizationElement
Server.getConfigurationElementCategoryWithPath(String path) ConfigurationElementCategory
Server.getCustomProperty(Object target, String key) Object
Server.getLdapElement(String dn) Object
Server.getObjectsURIWithCustomPropertyKey(String key) String[]
Server.getObjectsWithCustomPropertyKey(String key) Object[]
Server.getPackageWithName(String name) Package
Server.getPluginTypeInfo(String type) PluginTypeDescription
Server.getPolicyTemplateCategoryWithPath(String path) PolicyTemplateCategory
Server.getResourceElementCategoryWithPath(String path) ResourceElementCategory
Server.getWorkflowCategoryWithPath(String path) WorkflowCategory
Server.getWorkflowTokenState(String token_id) String
Server.getWorkflowWithId(String id) Workflow
Server.log(String text, String info) void
Server.log(String text, String info) void
Server.query(String type, String queryExp, Number maxCount) Object[]
Server.query(String type, String queryExp, Number maxCount) Object[]
Server.queryByTags(Object tagQuery, String type) Object[]
Server.removeAllCustomPropertiesForType(String type) void
Server.removeAllCustomPropertiesForTypeAndKey(String type, String key) void
Server.removeAllCustomPropertiesForTypeAndKey(String type, String key) void
Server.removeCustomProperty(Object target, String key) void
Server.searchLdapGroups(String query, Number limit) LdapGroup[]
Server.searchLdapUsers(String query, Number limit) LdapUser[]
Server.setAccessRights(Object owner, Object user, String rights) void
Server.setCustomProperty(Object target, String key, Object value) void
Server.tag(Object object, String tag, String value) void
Server.tag(Object object, String tag, String value) void
Server.tagGlobally(Object object, String tag, String value) void
Server.tagGlobally(Object object, String tag, String value) void
Server.untag(Object object, String[] tags) void
Server.untagGlobally(Object object, String[] tags) void
Server.warn(String text, String info) void
Server.warn(String text, String info) void
String.indexOf(String substring) String
String.lastIndexOf(String substring) String
String.match(String regexp) String[]
String.replace(String regexp, String string2) String
String.replace(String regexp, String string2) String
String.search(String regexp) Number
String.split(String regexp) String[]
System.appendToPath(Object rootPath, String toAdd) String
System.compareVersionNumber(String v1, String v2) Number
System.compareVersionNumber(String v1, String v2) Number
System.createTempFile(String suffix) File
System.customEventUrl(String eventName, boolean secure) URL
System.customEventUrlforServer(String eventName, String host, String port, boolean secure) URL
System.customEventUrlforServer(String eventName, String host, String port, boolean secure) URL
System.customEventUrlforServer(String eventName, String host, String port, boolean secure) URL
System.debug(String text) void
System.error(String text) void
System.formatDate(Date aDate, String pattern) String
System.formatNumber(Number aNumber, String pattern) String
System.getDate(String inputString, Date refDate) Date
System.getDateFromFormat(Date date, String pattern) Date
System.getModule(String name) Module
System.hexToDecimal(String value) Number
System.isHostReachable(String hostOrIp, Number timeout) boolean
System.log(String text) void
System.resolveHostName(String hostName) String
System.resolveIpAddress(String ipAddress) String
System.sendCustomEvent(String eventKey) void
System.setLogMarker(String logMarker) void
System.stdout(String text) void
System.waitCustomEventUntil(String text, String text2, Date endDate) EventCustom
System.waitCustomEventUntil(String text, String text2, Date endDate) EventCustom
System.warn(String text) void
TagQuery.hasGlobalTag(String tag, String value) void
TagQuery.hasGlobalTag(String tag, String value) void
TagQuery.hasTag(String tag, String value) void
TagQuery.hasTag(String tag, String value) void
Task.addParameter(String key, Object value) void
URL.escapeHost(String ipAddress) String
URL.isValidHostname(String hostname) boolean
URL.isValidHostnameOrIPAddress(String hostOrIP) boolean
URL.isValidIPAddress(String ipAddress) boolean
URL.isValidIPv4Address(String ipAddress) boolean
URL.isValidIPv6Address(String ipAddress) boolean
URL.unescapeHost(String ipAddress) String
Workflow.execute(Object properties, Object uname, String pwd) WorkflowToken
Workflow.saveSchemaImageToFile(String file) void
Workflow.schedule(Object properties, Object startDate, Object uname, String pwd) Task
Workflow.scheduleRecurrently(Object properties, Object recurrencePattern, Object recurrenceCycle, Object startDate, Object endDate, Object uname, String pwd) Task
WorkflowToken.saveSchemaImageToFile(String file) void
ZipWriter.(String file) void