Class Job


  • public class Job
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Job()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getCorrelator()
      Correlator provides a key that is used to group snapshots submitted over time.
      java.lang.String getHtml_url()
      The url for the job.
      java.lang.String getId()
      The external ID of the job.
      int hashCode()  
      void setCorrelator​(java.lang.String correlator)
      Correlator provides a key that is used to group snapshots submitted over time.
      void setHtml_url​(java.lang.String html_url)
      The url for the job.
      void setId​(java.lang.String id)
      The external ID of the job.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Job

        public Job()
    • Method Detail

      • getId

        public java.lang.String getId()
        The external ID of the job.
      • getCorrelator

        public java.lang.String getCorrelator()
        Correlator provides a key that is used to group snapshots submitted over time. Only the "latest" submitted snapshot for a given combination of job.correlator and detector.name will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given "wave" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.
      • getHtml_url

        public java.lang.String getHtml_url()
        The url for the job.
      • setId

        public void setId​(java.lang.String id)
        The external ID of the job.
      • setCorrelator

        public void setCorrelator​(java.lang.String correlator)
        Correlator provides a key that is used to group snapshots submitted over time. Only the "latest" submitted snapshot for a given combination of job.correlator and detector.name will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given "wave" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.
      • setHtml_url

        public void setHtml_url​(java.lang.String html_url)
        The url for the job.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object