Record Class IiziGoInstances.Instance
java.lang.Object
java.lang.Record
com.iizix.jetty.IiziGoInstances.Instance
- Record Components:
pid- The process ID.workspace- The workspace directory, as shown to the user.workspaceId- The workspace ID, stable for the life of the workspace.httpPort- The HTTP port bound, 0 for none.httpsPort- The HTTPS port bound, 0 for none.http3Port- The HTTP/3 UDP port bound, 0 for none.bind- The bind address, empty for all interfaces.override-truewhen the ports came from-Dcom.iizigo.webserver.port(a UI harness).build- The iiziGo build.started- When the web server bound, ISO-8601.
- Enclosing class:
IiziGoInstances
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbind()Returns the value of thebindrecord component.build()Returns the value of thebuildrecord component.describe()Describes the instance for a message: e.g.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehttp3Portrecord component.inthttpPort()Returns the value of thehttpPortrecord component.intReturns the value of thehttpsPortrecord component.booleanoverride()Returns the value of theoverriderecord component.longpid()Returns the value of thepidrecord component.started()Returns the value of thestartedrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkspacerecord component.Returns the value of theworkspaceIdrecord component.
Constructor Details
Instance
public Instance(long pid, String workspace, String workspaceId, int httpPort, int httpsPort, int http3Port, String bind, boolean override, String build, String started) Creates an instance of aInstancerecord class.- Parameters:
pid- the value for thepidrecord componentworkspace- the value for theworkspacerecord componentworkspaceId- the value for theworkspaceIdrecord componenthttpPort- the value for thehttpPortrecord componenthttpsPort- the value for thehttpsPortrecord componenthttp3Port- the value for thehttp3Portrecord componentbind- the value for thebindrecord componentoverride- the value for theoverriderecord componentbuild- the value for thebuildrecord componentstarted- the value for thestartedrecord component
Method Details
describe
Describes the instance for a message: e.g.iiziGo (workspace 'C:\ws\A', PID 1234).- Returns:
- The text.
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.pid
workspace
workspaceId
Returns the value of theworkspaceIdrecord component.- Returns:
- the value of the
workspaceIdrecord component
httpPort
httpsPort
http3Port
bind
override
build
started