WSNotifierCommands (AdminTask)
WSNotifierCommands commands manage notifications settings. WS-Notification enables web services to use the "publish and subscribe" messaging pattern, creating a one-to-many message distribution pattern.
deleteWSNotifier
Delete the settings of a notification configuration.
Parameters and return values
- -name
- The name that uniquely identifies the notification configuration. (String, required)
Examples
Batch mode example:
Jacl:
$AdminTask deleteWSNotifier {-name testNotifier}
Jython string...
AdminTask.deleteWSNotifier ('[-name testNotifier]')
Jython list:
AdminTask.deleteWSNotifier (['-name', 'testNotifier'])
Interactive mode:
Jacl:
$AdminTask deleteWSNotifier {-interactive}
Jython string...
AdminTask.deleteWSNotifier ('[-interactive]')
Jython list:
AdminTask.deleteWSNotifier (['-interactive'])
getWSNotifier
Display the settings of a particular notification configuration.
Parameters and return values
- -name
- The name that uniquely identifies the notification configuration. (String, required)
Examples
Batch mode example:
Jacl:
$AdminTask getWSNotifier {-name testNotifier}
Jython string...
AdminTask.getWSNotifier ('[-name testNotifier]')
Jython list:
AdminTask.getWSNotifier (['-name', 'testNotifier'])
Interactive mode:
Jacl:
$AdminTask getWSNotifier {-interactive}
Jython string...
AdminTask.getWSNotifier ('[-interactive]')
Jython list:
AdminTask.getWSNotifier (['-interactive'])
listWSNotifier
List the notifier from the configuration.
Parameters and return values
- -displayObjectNames
- If we set the value of this parameter to true, this command returns all notification configuration objects within the scope. If we set the value of this parameter to false, this command returns a list of strings containing the key set group name and the management scope. (Boolean, optional)
Examples
Batch mode example:
Jacl:
$AdminTask listWSNotifier {-displayObjectName true}
Jython string...
AdminTask.listWSNotifier ('[-displayObjectName true]')
Jython list:
AdminTask.listWSNotifier (['-displayObjectName', 'true'])
Interactive mode:
Jacl:
$AdminTask listWSNotifier {-interactive}
Jython string...
AdminTask.listWSNotifier ('[-interactive]')
Jython list:
AdminTask.listWSNotifier (['-interactive'])
modifyWSNotifier
Change the settings of an existing notification configuration.
Parameters and return values
- -name
- The name that uniquely identifies the notification configuration. (String, required)
- -logToSystemOut
- Set to true if we want the certificate expiration information to log to system out. If not, set the value of this parameter to false. (Boolean, optional)
- -sendEmail
- Set to true to email the certificate expiration information. If not, set the value of this parameter to false. (Boolean, optional)
- -emailList
- The list of email addresses where to send certificate expiration information. Separate the values in the list with colons (:). (String, optional)
Examples
Batch mode example:
Jacl:
$AdminTask modifyWSNotifier {-name testNotifier -logToSystemOut false -sendEmail true -emailList tester}
Jython string...
AdminTask.modifyWSNotifier ('[-name testNotifier -logToSystemOut false -sendEmail true -emailList tester]')
Jython list:
AdminTask.modifyWSNotifier (['-name', 'testNotifier', '-logToSystemOut', 'false', '-sendEmail', 'true', '-emailList', 'tester'])
Interactive mode:
Jacl:
$AdminTask modifyWSNotifier {-interactive}
Jython string...
AdminTask.modifyWSNotifier ('[-interactive]')
Jython list:
AdminTask.modifyWSNotifier (['-interactive'])
Related tasks
Use the wsadmin scripting AdminTask object for scripted administration Commands (AdminTask)