Package io.jmix.flowui.devserver.startup
Record Class StartupContext
java.lang.Object
java.lang.Record
io.jmix.flowui.devserver.startup.StartupContext
-
Constructor Summary
ConstructorsConstructorDescriptionStartupContext
(String themeName, File projectFolder, File designerFolder) Creates an instance of aStartupContext
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedesignerFolder
record component.final boolean
Indicates whether some other object is "equal to" this one.findFileInDesignerFolder
(String fileName) findFileInProjectFolder
(String fileName) final int
hashCode()
Returns a hash code value for this object.Returns the value of theprojectFolder
record component.Returns the value of thethemeName
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StartupContext
Creates an instance of aStartupContext
record class.- Parameters:
themeName
- the value for thethemeName
record componentprojectFolder
- the value for theprojectFolder
record componentdesignerFolder
- the value for thedesignerFolder
record component
-
-
Method Details
-
findFileInProjectFolder
-
findFileInDesignerFolder
-
getProjectFrontendFolder
-
getDesignerFrontendFolder
-
getProjectThemesFolder
-
getDesignerThemesFolder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
themeName
Returns the value of thethemeName
record component.- Returns:
- the value of the
themeName
record component
-
projectFolder
Returns the value of theprojectFolder
record component.- Returns:
- the value of the
projectFolder
record component
-
designerFolder
Returns the value of thedesignerFolder
record component.- Returns:
- the value of the
designerFolder
record component
-