|
|
|
@ -14,6 +14,23 @@
|
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
|
* under the License.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2019, Entgra (Pvt) Ltd. (http://entgra.io) All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
|
|
|
|
* Version 2.0 (the "License"); you may not use this file except
|
|
|
|
|
* in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
|
* under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package org.wso2.carbon.policy.mgt.core.util;
|
|
|
|
@ -45,6 +62,11 @@ public final class PolicyManagementConstants {
|
|
|
|
|
public static final String DELEGATION_TASK_NAME = "DELEGATION";
|
|
|
|
|
public static final String DELEGATION_TASK_CLAZZ = "org.wso2.carbon.policy.mgt.core.enforcement.DelegationTask";
|
|
|
|
|
|
|
|
|
|
public static final String GENERAL_POLICY_TYPE = "GENERAL";
|
|
|
|
|
public static final String CORRECTIVE_POLICY_TYPE = "CORRECTIVE";
|
|
|
|
|
public static final String POLICY_CORRECTIVE_ACTION_TYPE = "POLICY";
|
|
|
|
|
public static final String CORRECTIVE_POLICY_FEATURE_CODE = "CORRECTIVE_POLICY";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
Caller would reference the constants using PolicyManagementConstants.DEVICE_CONFIG_XML_NAME,
|
|
|
|
|
and so on. Any caller should be prevented from constructing objects of
|
|
|
|
|