Class Config


  • public final class Config
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String token()
      Forgejo API token.
      java.lang.String url()
      Base URL of the Forgejo instance.
      • Methods inherited from class java.lang.Object

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

      • Config

        public Config()
    • Method Detail

      • token

        public java.lang.String token()
        Forgejo API token. Can also be set with FORGEJO_TOKEN.
      • url

        public java.lang.String url()
        Base URL of the Forgejo instance. Can also be set with FORGEJO_URL.