Modifier and Type | Method | Description |
---|---|---|
default int |
countConfigurations() |
|
int |
countConfigurations(String filter) |
|
Configuration |
getConfiguration(int index) |
|
Configuration |
getConfiguration(Id id) |
|
default Configuration[] |
getConfigurations() |
|
Configuration[] |
getConfigurations(String filter) |
|
Configuration |
getCurrentConfiguration() |
The currently selected configuration.
|
String |
getId() |
The unique identifier for the service.
|
Interface |
getInterface() |
The interface the service is built on.
|
int |
getKind() |
The type of service.
|
String |
getName() |
The name of the service.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
boolean |
isActive() |
Is the service active?
|
void |
setCurrentConfiguration(Configuration currentConfiguration) |
The currently selected configuration.
|
void |
setName(String name) |
The name of the service.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("element") @Type("configuration") default Configuration[] getConfigurations()
Configuration
s@Kind("element") @Type("configuration") Configuration[] getConfigurations(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Configuration
s@Kind("element") @Type("configuration") Configuration getConfiguration(int index)
index
- index into the element list (zero-based)Configuration
at the requested index@Kind("element") @Type("configuration") Configuration getConfiguration(Id id)
id
- id of the itemConfiguration
with the requested id@Kind("element") @Type("configuration") default int countConfigurations()
Configuration
s@Kind("element") @Type("configuration") int countConfigurations(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("acti") @Kind("property") @Name("active") @Type("boolean") boolean isActive()
@Code("cnfg") @Kind("property") @Name("current configuration") @Type("configuration") Configuration getCurrentConfiguration()
@Code("cnfg") @Kind("property") @Name("current configuration") @Type("configuration") void setCurrentConfiguration(Configuration currentConfiguration)
currentConfiguration
- new property value@Code("ID ") @Kind("property") @Name("id") @Type("text") String getId()
@Code("intf") @Kind("property") @Name("interface") @Type("interface") Interface getInterface()
@Code("kind") @Kind("property") @Name("kind") @Type("integer") int getKind()
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("pnam") @Kind("property") @Name("name") @Type("text") void setName(String name)
name
- new property value