test_class.file: dmr/src/test/java/org/jboss/hal/dmr/OperationTest.java
test_class.identifier: OperationTest
test_case.body: @Test
      public void runAs() throws Exception {
          ResourceAddress address = new ResourceAddress()
                  .add("subsystem", "datasources")
                  .add("data-source", "foo");
  
          Operation operation = new Operation.Builder(address, ADD)
                  .param(JNDI_NAME, "java:/bar")
                  .header("header1", "value1")
                  .build();
  
          assertOperation(operation.runAs(Collections.singleton("Administrator")), "Administrator");
      }
test_case.class_method_signature: OperationTest.runAs()
test_case.full_signature: @Test public void runAs()
test_case.identifier: runAs
test_case.invocations: add add build header param assertOperation runAs singleton
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void runAs()
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: address
focal_class.modifier: private final
focal_class.original_string: private final ResourceAddress address;
focal_class.type: ResourceAddress
focal_class.var_name: address
focal_class.declarator: parameter
focal_class.modifier: private final
focal_class.original_string: private final ModelNode parameter;
focal_class.type: ModelNode
focal_class.var_name: parameter
focal_class.declarator: header
focal_class.modifier: private final
focal_class.original_string: private final ModelNode header;
focal_class.type: ModelNode
focal_class.var_name: header
focal_class.declarator: roles
focal_class.modifier: private final
focal_class.original_string: private final Set<String> roles;
focal_class.type: Set<String>
focal_class.var_name: roles
focal_class.file: dmr/src/main/java/org/jboss/hal/dmr/Operation.java
focal_class.identifier: Operation
focal_class.class_method_signature: Operation.Operation(ModelNode modelNode)
focal_class.full_signature: @JsIgnore public  Operation(ModelNode modelNode)
focal_class.identifier: Operation
focal_class.modifiers: @JsIgnore public
focal_class.parameters: (ModelNode modelNode)
focal_class.signature:  Operation(ModelNode modelNode)
focal_class.class_method_signature: Operation.Operation(String name, ResourceAddress address, ModelNode parameter, ModelNode header, Set<String> roles)
focal_class.full_signature:   Operation(String name, ResourceAddress address, ModelNode parameter, ModelNode header, Set<String> roles)
focal_class.identifier: Operation
focal_class.parameters: (String name, ResourceAddress address, ModelNode parameter, ModelNode header, Set<String> roles)
focal_class.signature:  Operation(String name, ResourceAddress address, ModelNode parameter, ModelNode header, Set<String> roles)
focal_class.class_method_signature: Operation.addRolesAsHeaders()
focal_class.full_signature: private void addRolesAsHeaders()
focal_class.identifier: addRolesAsHeaders
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void addRolesAsHeaders()
focal_class.class_method_signature: Operation.getName()
focal_class.full_signature: @JsProperty public String getName()
focal_class.identifier: getName
focal_class.modifiers: @JsProperty public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: Operation.getAddress()
focal_class.full_signature: @JsProperty public ResourceAddress getAddress()
focal_class.identifier: getAddress
focal_class.modifiers: @JsProperty public
focal_class.parameters: ()
focal_class.return: ResourceAddress
focal_class.signature: ResourceAddress getAddress()
focal_class.class_method_signature: Operation.getParameter()
focal_class.full_signature: @JsProperty public ModelNode getParameter()
focal_class.identifier: getParameter
focal_class.modifiers: @JsProperty public
focal_class.parameters: ()
focal_class.return: ModelNode
focal_class.signature: ModelNode getParameter()
focal_class.class_method_signature: Operation.getHeader()
focal_class.full_signature: @JsProperty public ModelNode getHeader()
focal_class.identifier: getHeader
focal_class.modifiers: @JsProperty public
focal_class.parameters: ()
focal_class.return: ModelNode
focal_class.signature: ModelNode getHeader()
focal_class.class_method_signature: Operation.hasParameter()
focal_class.full_signature: @JsIgnore public boolean hasParameter()
focal_class.identifier: hasParameter
focal_class.modifiers: @JsIgnore public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasParameter()
focal_class.class_method_signature: Operation.getRoles()
focal_class.full_signature: @JsIgnore public Set<String> getRoles()
focal_class.identifier: getRoles
focal_class.modifiers: @JsIgnore public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getRoles()
focal_class.class_method_signature: Operation.runAs(Set<String> runAs)
focal_class.full_signature: @JsIgnore public Operation runAs(Set<String> runAs)
focal_class.identifier: runAs
focal_class.modifiers: @JsIgnore public
focal_class.parameters: (Set<String> runAs)
focal_class.return: Operation
focal_class.signature: Operation runAs(Set<String> runAs)
focal_class.class_method_signature: Operation.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: Operation.asCli()
focal_class.full_signature: public String asCli()
focal_class.identifier: asCli
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String asCli()
focal_class.superclass: extends ModelNode
focal_method.body: @JsIgnore
      public Operation runAs(Set<String> runAs) {
          return new Operation(name, address, parameter, header, newHashSet(runAs));
      }
focal_method.class_method_signature: Operation.runAs(Set<String> runAs)
focal_method.full_signature: @JsIgnore public Operation runAs(Set<String> runAs)
focal_method.identifier: runAs
focal_method.invocations: newHashSet
focal_method.modifiers: @JsIgnore public
focal_method.parameters: (Set<String> runAs)
focal_method.return: Operation
focal_method.signature: Operation runAs(Set<String> runAs)