Class ApplicationInfo

java.lang.Object
com.cloudforge.core.config.ApplicationInfo

public class ApplicationInfo extends Object
Application metadata for display and configuration purposes.

This class captures application metadata from ApplicationSpec for use in interactive deployment tools and UIs.

Since:
CloudForge 3.0.0
  • Field Details

    • id

      public String id
      Application identifier (e.g., "jenkins", "gitlab")
    • name

      public String name
      Human-readable name (e.g., "Jenkins", "GitLab")
    • description

      public String description
      Application description
    • supportsFargate

      public boolean supportsFargate
      Supports Fargate deployment
    • supportsEc2

      public boolean supportsEc2
      Supports EC2 deployment
    • supportsOidc

      public boolean supportsOidc
      Supports OIDC integration
    • minCpu

      public int minCpu
      Minimum CPU units (Fargate)
    • minMemory

      public int minMemory
      Minimum memory MB (Fargate)
    • minInstanceType

      public String minInstanceType
      Minimum instance type (EC2)
  • Constructor Details

    • ApplicationInfo

      public ApplicationInfo(String id, String name, String description, boolean supportsFargate, boolean supportsEc2, boolean supportsOidc)
      Creates ApplicationInfo with default resource requirements.
      Parameters:
      id - the unique application identifier
      name - the application display name
      description - the application description
      supportsFargate - whether the application supports Fargate deployment
      supportsEc2 - whether the application supports EC2 deployment
      supportsOidc - whether the application supports OIDC integration
    • ApplicationInfo

      public ApplicationInfo(String id, String name, String description, boolean supportsFargate, boolean supportsEc2, boolean supportsOidc, int minCpu, int minMemory, String minInstanceType)
      Creates ApplicationInfo with explicit resource requirements.
      Parameters:
      id - the unique application identifier
      name - the application display name
      description - the application description
      supportsFargate - whether the application supports Fargate deployment
      supportsEc2 - whether the application supports EC2 deployment
      supportsOidc - whether the application supports OIDC integration
      minCpu - the minimum CPU units required (Fargate CPU units)
      minMemory - the minimum memory in MB required
      minInstanceType - the minimum EC2 instance type required