Class SecretSetterEmitter

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.codegen.CodeEmitter<java.lang.Object>

    public class SecretSetterEmitter
    extends java.lang.Object
    implements com.atlassian.bamboo.specs.api.codegen.CodeEmitter<java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SECRET_PLACEHOLDER  
    • Constructor Summary

      Constructors 
      Constructor Description
      SecretSetterEmitter​(java.lang.String methodName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String emitCode​(@NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context, @NotNull java.lang.Object argument)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SECRET_PLACEHOLDER

        public static final java.lang.String SECRET_PLACEHOLDER
        See Also:
        Constant Field Values
    • Constructor Detail

      • SecretSetterEmitter

        public SecretSetterEmitter​(java.lang.String methodName)
    • Method Detail

      • emitCode

        @NotNull
        public @NotNull java.lang.String emitCode​(@NotNull
                                                  @NotNull com.atlassian.bamboo.specs.api.codegen.CodeGenerationContext context,
                                                  @NotNull
                                                  @NotNull java.lang.Object argument)
                                           throws com.atlassian.bamboo.specs.api.codegen.CodeGenerationException
        Specified by:
        emitCode in interface com.atlassian.bamboo.specs.api.codegen.CodeEmitter<java.lang.Object>
        Throws:
        com.atlassian.bamboo.specs.api.codegen.CodeGenerationException