Class ShenyuConfig.Local

  • Enclosing class:
    ShenyuConfig

    public static class ShenyuConfig.Local
    extends java.lang.Object
    The local config.
    • Constructor Summary

      Constructors 
      Constructor Description
      Local()
      Instantiates a new Local.
      Local​(java.lang.String sha512Key)
      Instantiates a new Local.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getEnabled()
      Gets enabled.
      java.lang.String getSha512Key()
      Get Sha512Key.
      void setEnabled​(boolean enabled)
      Sets enabled.
      void setSha512Key​(java.lang.String sha512Key)
      Set Sha512Key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Local

        public Local()
        Instantiates a new Local.
      • Local

        public Local​(java.lang.String sha512Key)
        Instantiates a new Local.
        Parameters:
        sha512Key - the sha 512 key
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Gets enabled.
        Returns:
        the enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets enabled.
        Parameters:
        enabled - the enabled
      • getSha512Key

        public java.lang.String getSha512Key()
        Get Sha512Key.
        Returns:
        the key
      • setSha512Key

        public void setSha512Key​(java.lang.String sha512Key)
        Set Sha512Key.
        Parameters:
        sha512Key - sha512Key