Package org.marid.profile
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 IdeProjectaddProject(java.lang.String name)voidclose()booleanequals(java.lang.Object obj)java.nio.file.PathgetMaridDirectory()java.lang.StringgetName()java.nio.file.PathgetProjectsDirectory()inthashCode()booleanremoveProject(java.lang.String name)java.lang.StringtoString()
-
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
-
removeProject
public boolean removeProject(java.lang.String name) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable
-