Interface AgentExpirationCondition

    • Method Detail

      • getProlongationReason

        @Nullable
        String getProlongationReason​(@NotNull
                                     CloudProfile cloudProfile,
                                     @NotNull
                                     CloudInstance cloudInstance,
                                     @NotNull
                                     SBuildAgent agent)
        Checks whether the agent can be marked as expired and the corresponding cloud instance can be stopped
        Parameters:
        cloudProfile - - the cloud profile
        cloudInstance - - the cloud instance
        agent - - the agent to check
        Returns:
        the reason why the agent can be marked as expired or null otherwise
        Since:
        2024.07