Record Class MCreatorMcp
java.lang.Object
java.lang.Record
net.mcreator.ui.mcp.MCreatorMcp
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionMCreatorMcp(McpServer server, Supplier<MCreator> currentMCreator) Creates an instance of aMCreatorMcprecord class.MCreatorMcp(McpTransport transport, Supplier<MCreator> currentMCreator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns the value of thecurrentMCreatorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.server()Returns the value of theserverrecord component.voidstart()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MCreatorMcp
-
MCreatorMcp
-
-
Method Details
-
start
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
toString
-
hashCode
-
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). -
server
Returns the value of theserverrecord component.- Returns:
- the value of the
serverrecord component
-
currentMCreator
-