Class NpmBuildAgent_1_0

java.lang.Object
com.gradle.scan.eventmodel.npm.NpmBuildAgent_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@NpmVersion(since="10.8.2") @NpmAgentVersion(since="0.9.0") public class NpmBuildAgent_1_0 extends Object implements com.gradle.scan.eventmodel.EventData
An EventData containing details about the build agent that executed the build.

An event stream will contain a single NpmBuildAgent_1_0.

  • Field Details

    • username

      @Nullable("when the username cannot be determined") public final @Nullable("when the username cannot be determined") String username
      The operating system username of the user who runs the build.
    • publicHostname

      @Nullable("when the public hostname cannot be resolved") public final @Nullable("when the public hostname cannot be resolved") String publicHostname
      The hostname of the build machine, as seen on the network.
  • Constructor Details

    • NpmBuildAgent_1_0

      public NpmBuildAgent_1_0(@Nullable @Nullable String username, @Nullable @Nullable String publicHostname)
  • Method Details