Lines Matching refs:name
38 * <table border=1 cellpadding=5 summary="Table shows permission target name, wh
89 * Constructs a ManagementPermission with the specified name.
91 * @param name Permission name. Must be either "monitor" or "control".
93 * @throws NullPointerException if <code>name</code> is <code>null</code>.
94 * @throws IllegalArgumentException if <code>name</code> is empty or invalid.
96 public ManagementPermission(String name) {
97 super(name);
98 if (!name.equals("control") && !name.equals("monitor")) {
99 throw new IllegalArgumentException("name: " + name);
106 * @param name Permission name. Must be either "monitor" or "control".
109 * @throws NullPointerException if <code>name</code> is <code>null</code>.
110 * @throws IllegalArgumentException if <code>name</code> is empty or
113 public ManagementPermission(String name, String actions)
115 super(name);
116 if (!name.equals("control") && !name.equals("monitor")) {
117 throw new IllegalArgumentException("name: " + name);