com.pax.dal.entity
Class AppNetworkFilter
- java.lang.Object
-
- com.pax.dal.entity.AppNetworkFilter
-
public class AppNetworkFilter extends java.lang.Object
应用的网络访问过滤规。Apply network access filtering rules.
-
-
Constructor Summary
Constructors Constructor and Description AppNetworkFilter(java.lang.String operationType, java.lang.String packageName, java.lang.String address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetAddress()获取过滤的IP地址。Get the filtered IP address.java.lang.StringgetOperationType()规则类型。"A":允许;"F":禁止。Rule type.java.lang.StringgetPackageName()获取应用包名。Get the app package name.
-
-
-
Constructor Detail
-
AppNetworkFilter
public AppNetworkFilter(java.lang.String operationType, java.lang.String packageName, java.lang.String address)
-
-
Method Detail
-
getOperationType
public java.lang.String getOperationType()
规则类型。"A":允许;"F":禁止。Rule type. "A": allowed; "F": prohibited.- Returns:
- "A":允许;"F":禁止。"A": allowed; "F": prohibited.
-
getPackageName
public java.lang.String getPackageName()
获取应用包名。Get the app package name.- Returns:
- 应用包名。App package name.
-
getAddress
public java.lang.String getAddress()
获取过滤的IP地址。Get the filtered IP address.- Returns:
- IP地址。"*"表示所有的IP地址。IP address. "*" indicates all IP addresses.
-
-