Class CloudInstanceUserData


  • public class CloudInstanceUserData
    extends Object
    Represent information that will be transfered to starting build agent image
    Author:
    Eugene Petrenko
    • Constructor Detail

      • CloudInstanceUserData

        @Deprecated
        public CloudInstanceUserData​(@NotNull
                                     String agentName,
                                     @NotNull
                                     String authToken,
                                     @NotNull
                                     String serverAddress,
                                     @Nullable
                                     Long idleTimeout,
                                     @NotNull
                                     String profileDescr,
                                     @NotNull
                                     Map<String,​String> customAgentConfigurationParameters)
        Deprecated.
      • CloudInstanceUserData

        public CloudInstanceUserData​(@NotNull
                                     String agentName,
                                     @NotNull
                                     String authToken,
                                     @NotNull
                                     String serverAddress,
                                     @Nullable
                                     Long idleTimeout,
                                     @NotNull
                                     String profileId,
                                     @NotNull
                                     String profileDescr,
                                     @NotNull
                                     Map<String,​String> customAgentConfigurationParameters)
    • Method Detail

      • addAgentConfigurationParameter

        public void addAgentConfigurationParameter​(@NotNull
                                                   String key,
                                                   @NotNull
                                                   String value)
      • getAgentConfigurationParameter

        @Nullable
        public String getAgentConfigurationParameter​(@NotNull
                                                     String key)
      • getCustomAgentConfigurationParameters

        @NotNull
        public Map<String,​String> getCustomAgentConfigurationParameters()
      • getProfileDescription

        @NotNull
        public String getProfileDescription()
      • getProfileId

        @NotNull
        public String getProfileId()
      • getIdleTimeout

        @Nullable
        public Long getIdleTimeout()
      • getAgentName

        @NotNull
        public String getAgentName()
      • getAuthToken

        @NotNull
        public String getAuthToken()
      • getServerAddress

        @NotNull
        public String getServerAddress()
      • serialize

        public String serialize()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object