Class IdeProfile

java.lang.Object
org.marid.profile.IdeProfile
All Implemented Interfaces:
java.lang.AutoCloseable

@Component
public final class IdeProfile
extends java.lang.Object
implements java.lang.AutoCloseable
  • Constructor Summary

    Constructors 
    Constructor Description
    IdeProfile​(org.springframework.context.support.GenericApplicationContext context)  
  • Method Summary

    Modifier and Type Method Description
    IdeProject addProject​(java.lang.String name)  
    void close()  
    boolean equals​(java.lang.Object obj)  
    java.nio.file.Path getMaridDirectory()  
    java.lang.String getName()  
    java.nio.file.Path getProjectsDirectory()  
    int hashCode()  
    boolean removeProject​(java.lang.String name)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IdeProfile

      public IdeProfile​(org.springframework.context.support.GenericApplicationContext context) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • getName

      public java.lang.String getName()
    • getMaridDirectory

      public java.nio.file.Path getMaridDirectory()
    • getProjectsDirectory

      public java.nio.file.Path getProjectsDirectory()
    • addProject

      public IdeProject addProject​(java.lang.String name)
    • removeProject

      public boolean removeProject​(java.lang.String name)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable