Class NetworkCustomPolicy

    • Constructor Detail

      • NetworkCustomPolicy

        public NetworkCustomPolicy()
      • NetworkCustomPolicy

        public NetworkCustomPolicy​(NetworkCustomPolicy source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getDirection

        public String getDirection()
        Get 网络策略方向,分为FROM和TO
        Returns:
        Direction 网络策略方向,分为FROM和TO
      • setDirection

        public void setDirection​(String Direction)
        Set 网络策略方向,分为FROM和TO
        Parameters:
        Direction - 网络策略方向,分为FROM和TO
      • getPorts

        public NetworkPorts[] getPorts()
        Get 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Ports 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
      • setPorts

        public void setPorts​(NetworkPorts[] Ports)
        Set 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Ports - 网络策略策略端口 注意:此字段可能返回 null,表示取不到有效值。
      • getPeer

        public NetworkPeer[] getPeer()
        Get 网络策略策略对象 开启待确认:PublishedNoConfirm 开启已确认:PublishedConfirmed 关闭中:unPublishing 开启中:Publishing 待开启:unPublishEdit 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Peer 网络策略策略对象 开启待确认:PublishedNoConfirm 开启已确认:PublishedConfirmed 关闭中:unPublishing 开启中:Publishing 待开启:unPublishEdit 注意:此字段可能返回 null,表示取不到有效值。
      • setPeer

        public void setPeer​(NetworkPeer[] Peer)
        Set 网络策略策略对象 开启待确认:PublishedNoConfirm 开启已确认:PublishedConfirmed 关闭中:unPublishing 开启中:Publishing 待开启:unPublishEdit 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Peer - 网络策略策略对象 开启待确认:PublishedNoConfirm 开启已确认:PublishedConfirmed 关闭中:unPublishing 开启中:Publishing 待开启:unPublishEdit 注意:此字段可能返回 null,表示取不到有效值。