// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/ACLItemMethod.java
// public enum ACLItemMethod {
//     DIRECT,
//     PROXY,
//     REJECT
// }
// 
// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/ACLItemType.java
// public enum ACLItemType {
//     DOMAIN,
//     DOMAIN_SUFFIX,
//     IPv4,
//     IPv4_CIDR,
//     IPv6,
//     IPv6_CIDR
// }


import com.vecsight.dragonite.proxy.acl.ACLItemMethod;
import com.vecsight.dragonite.proxy.acl.ACLItemType;
/*
 * The Dragonite Project
 * -------------------------
 * See the LICENSE file in the root directory for license information.
 */


package com.vecsight.dragonite.proxy.acl.item;


public class DomainSuffixACLItem implements ACLItem {

    private final String domain;

    private final ACLItemMethod method;

    public DomainSuffixACLItem(final String domain, final ACLItemMethod method) {
        this.domain = domain;
        this.method = method;
    }

    @Override
    public ACLItemType getType() {
// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/ACLItemMethod.java
// public enum ACLItemMethod {
//     DIRECT,
//     PROXY,
//     REJECT
// }
// 
// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/ACLItemType.java
// public enum ACLItemType {
//     DOMAIN,
//     DOMAIN_SUFFIX,
//     IPv4,
//     IPv4_CIDR,
//     IPv6,
//     IPv6_CIDR
// }


// Path: dragonite-proxy/src/main/java/com/vecsight/dragonite/proxy/acl/item/DomainSuffixACLItem.java
import com.vecsight.dragonite.proxy.acl.ACLItemMethod;
import com.vecsight.dragonite.proxy.acl.ACLItemType;

/*
 * The Dragonite Project
 * -------------------------
 * See the LICENSE file in the root directory for license information.
 */


package com.vecsight.dragonite.proxy.acl.item;


public class DomainSuffixACLItem implements ACLItem {

    private final String domain;

    private final ACLItemMethod method;

    public DomainSuffixACLItem(final String domain, final ACLItemMethod method) {
        this.domain = domain;
        this.method = method;
    }

    @Override
    public ACLItemType getType() {
        return ACLItemType.DOMAIN_SUFFIX;