Package com.cloudforgeci.api.core
Record Class SystemContext.JenkinsSpecificFactories
java.lang.Object
java.lang.Record
com.cloudforgeci.api.core.SystemContext.JenkinsSpecificFactories
- Record Components:
fargate- the Fargate factory for container orchestrationcontainer- the container factory for Docker configurationalarms- the alarm factory for monitoringec2- the EC2 factory for VM-based deploymentssingleInstance- the single instance factory (if applicable)
- Enclosing class:
SystemContext
public static record SystemContext.JenkinsSpecificFactories(FargateFactory fargate, ContainerFactory container, AlarmFactory alarms, Ec2Factory ec2, Object singleInstance)
extends Record
Container for Jenkins-specific factories.
Note: JenkinsBootstrap removed - logic migrated to FargateFactory
-
Constructor Summary
ConstructorsConstructorDescriptionJenkinsSpecificFactories(FargateFactory fargate, ContainerFactory container, AlarmFactory alarms, Ec2Factory ec2, Object singleInstance) Creates an instance of aJenkinsSpecificFactoriesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionalarms()Returns the value of thealarmsrecord component.Returns the value of thecontainerrecord component.ec2()Returns the value of theec2record component.final booleanIndicates whether some other object is "equal to" this one.fargate()Returns the value of thefargaterecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesingleInstancerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
JenkinsSpecificFactories
public JenkinsSpecificFactories(FargateFactory fargate, ContainerFactory container, AlarmFactory alarms, Ec2Factory ec2, Object singleInstance) Creates an instance of aJenkinsSpecificFactoriesrecord class.- Parameters:
fargate- the value for thefargaterecord componentcontainer- the value for thecontainerrecord componentalarms- the value for thealarmsrecord componentec2- the value for theec2record componentsingleInstance- the value for thesingleInstancerecord component
-
-
Method Details
-
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). -
fargate
Returns the value of thefargaterecord component.- Returns:
- the value of the
fargaterecord component
-
container
Returns the value of thecontainerrecord component.- Returns:
- the value of the
containerrecord component
-
alarms
Returns the value of thealarmsrecord component.- Returns:
- the value of the
alarmsrecord component
-
ec2
Returns the value of theec2record component.- Returns:
- the value of the
ec2record component
-
singleInstance
Returns the value of thesingleInstancerecord component.- Returns:
- the value of the
singleInstancerecord component
-