e932d61c5bdfb0f4b90ce1c2cb1fa548ac9c1753
[policy/distribution.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2019 Intel Corp. All rights reserved.
4  *  Modifications Copyright (C) 2019 AT&T Intellectual Property.
5  *  Modifications Copyright (C) 2019 Nordix Foundation.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  * SPDX-License-Identifier: Apache-2.0
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.policy.distribution.forwarding.file;
24
25 import lombok.Getter;
26 import lombok.Setter;
27
28 import org.onap.policy.common.parameters.annotations.NotBlank;
29 import org.onap.policy.common.parameters.annotations.NotNull;
30 import org.onap.policy.distribution.main.parameters.PolicyForwarderConfigurationParameterGroup;
31
32 /**
33  * Holds the parameters for the{@link FilePolicyForwarder}.
34  */
35 @Getter
36 @Setter
37 @NotNull
38 @NotBlank
39 public class FilePolicyForwarderParameterGroup extends PolicyForwarderConfigurationParameterGroup {
40     public static final String POLICY_FORWARDER_PLUGIN_CLASS = FilePolicyForwarder.class.getName();
41
42     private String path;
43     private boolean verbose;
44
45     public FilePolicyForwarderParameterGroup() {
46         super(FilePolicyForwarderParameterGroup.class.getSimpleName());
47     }
48 }