Module kivakit.core

Class KivaKit

All Implemented Interfaces:
ResultTrait, LanguageTrait, SilentTryTrait, TryTrait, Broadcaster, Listener, Repeater, Transceiver, ProjectTrait, RegistryTrait, JavaTrait, TripwireTrait, Initializable, Receiver, Transmitter, Named, NamedObject

public class KivaKit extends Project
This class defines a KivaKit Project. It cannot be constructed with the new operator since it has a private constructor. To access the singleton instance of this class, call Project.resolveProject(Class), or use ProjectTrait.project(Class).

Information about KivaKit, including the home folder, the cache folder and the framework version. Since KivaKit is a Project it inherits that functionality as well.

Author:
jonathanl (shibo)
See Also:
  • Constructor Details

    • KivaKit

      public KivaKit()
  • Method Details

    • cacheFolderPath

      public Path cacheFolderPath()
      Returns:
      The cache folder for KivaKit
    • homeFolderPath

      public Path homeFolderPath()
      The easiest way to set KIVAKIT_HOME for Eclipse and other applications is to put this line in your .profile:
        launchctl setenv KIVAKIT_HOME $KIVAKIT_HOME
       
      Returns:
      Path to KivaKit home if it's available in the environment or as a system property.