@@ -120,27 +120,92 @@ def get_rcu_schemas(self):
120
120
return list (self ._domain_typedef ['rcuSchemas' ])
121
121
122
122
def is_system_app (self , name ):
123
+ """
124
+ Determine if the specified name matches a WLS system application.
125
+ :param name: the name to be checked
126
+ :return: True if the name matches a system application, False otherwise
127
+ """
123
128
return self ._is_system_name (name , 'apps' )
124
129
125
- def is_system_shared_library (self , name ):
126
- return self ._is_system_name (name , 'shared-libraries' )
130
+ def is_system_coherence_cluster (self , name ):
131
+ """
132
+ Determine if the specified name matches a WLS system Coherence cluster.
133
+ :param name: the name to be checked
134
+ :return: True if the name matches a system Coherence cluster, False otherwise
135
+ """
136
+ return self ._is_system_name (name , 'coherence-clusters' )
127
137
128
138
def is_system_datasource (self , name ):
139
+ """
140
+ Determine if the specified name matches a WLS system datasource.
141
+ :param name: the name to be checked
142
+ :return: True if the name matches a system datasource, False otherwise
143
+ """
129
144
return self ._is_system_name (name , 'datasources' )
130
145
131
- def is_system_coherence_cluster (self , name ):
132
- return self ._is_system_name (name , 'coherence-clusters' )
146
+ def is_system_file_store (self , name ):
147
+ """
148
+ Determine if the specified name matches a WLS system file store.
149
+ :param name: the name to be checked
150
+ :return: True if the name matches a system file store, False otherwise
151
+ """
152
+ return self ._is_system_name (name , 'file-stores' )
133
153
134
- def is_system_wldf (self , name ):
135
- return self ._is_system_name (name , 'wldf' )
154
+ def is_system_jms (self , name ):
155
+ """
156
+ Determine if the specified name matches a WLS system JMS resource.
157
+ :param name: the name to be checked
158
+ :return: True if the name matches a system JMS resource, False otherwise
159
+ """
160
+ return self ._is_system_name (name , 'jms' )
136
161
137
- def is_system_startup_class (self , name ):
138
- return self ._is_system_name (name , 'startup-classes' )
162
+ def is_system_jms_server (self , name ):
163
+ """
164
+ Determine if the specified name matches a WLS system JMS server.
165
+ :param name: the name to be checked
166
+ :return: True if the name matches a system JMS server, False otherwise
167
+ """
168
+ return self ._is_system_name (name , 'jms-servers' )
169
+
170
+ def is_system_shared_library (self , name ):
171
+ """
172
+ Determine if the specified name matches a WLS system shared library.
173
+ :param name: the name to be checked
174
+ :return: True if the name matches a system shared library, False otherwise
175
+ """
176
+ return self ._is_system_name (name , 'shared-libraries' )
139
177
140
178
def is_system_shutdown_class (self , name ):
179
+ """
180
+ Determine if the specified name matches a WLS system shutdown class.
181
+ :param name: the name to be checked
182
+ :return: True if the name matches a system shutdown class, False otherwise
183
+ """
141
184
return self ._is_system_name (name , 'shutdown-classes' )
142
185
186
+ def is_system_startup_class (self , name ):
187
+ """
188
+ Determine if the specified name matches a WLS system startup class.
189
+ :param name: the name to be checked
190
+ :return: True if the name matches a system startup class, False otherwise
191
+ """
192
+ return self ._is_system_name (name , 'startup-classes' )
193
+
194
+ def is_system_wldf (self , name ):
195
+ """
196
+ Determine if the specified name matches a WLS system WLDF resource.
197
+ :param name: the name to be checked
198
+ :return: True if the name matches a system WLDF resource, False otherwise
199
+ """
200
+ return self ._is_system_name (name , 'wldf' )
201
+
143
202
def _is_system_name (self , name , key ):
203
+ """
204
+ Determine if the specified name matches a WLS name of the specified type key.
205
+ :param name: the name to be checked
206
+ :param key: the key of the type to be checked against
207
+ :return: True if the name matches a system name, False otherwise
208
+ """
144
209
if key in self ._system_elements :
145
210
system_names = self ._system_elements [key ]
146
211
for system_name in system_names :
0 commit comments