Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #70 from jglick/track-Javadoc
[JENKINS-20139] Inaccurate/incomplete Javadoc for `track` overloads
  • Loading branch information
stephenc committed Oct 31, 2016
2 parents 408765b + cd3304a commit d20ac24
Showing 1 changed file with 11 additions and 10 deletions.
Expand Up @@ -1370,7 +1370,7 @@ public static Fingerprint getOrCreateFingerprintOf(@NonNull Credentials c) throw
}

/**
* Track the usage of credentials in a specific build
* Track the usage of credentials in a specific build.
*
* @param build the run to tag the fingerprint
* @param credentials the credentials to fingerprint.
Expand All @@ -1387,7 +1387,7 @@ public static <C extends Credentials> C track(@NonNull Run build, @CheckForNull
}

/**
* Track the usage of credentials in a specific build
* Track the usage of credentials in a specific build.
*
* @param build the run to tag the fingerprint
* @param credentials the credentials to fingerprint.
Expand All @@ -1404,7 +1404,7 @@ public static <C extends Credentials> List<C> trackAll(@NonNull Run build, C...
}

/**
* Track the usage of credentials in a specific build
* Track the usage of credentials in a specific build.
*
* @param build the run to tag the fingerprint
* @param credentials the credentials to fingerprint.
Expand All @@ -1427,8 +1427,8 @@ public static <C extends Credentials> List<C> trackAll(@NonNull Run build, @NonN
}

/**
* Track the usage of credentials in a specific build
*
* Track the usage of credentials in a specific node.
* Would be used for example when launching an agent.
* @param node the node to tag the fingerprint
* @param credentials the credentials to fingerprint.
* @param <C> the credentials type.
Expand All @@ -1444,8 +1444,8 @@ public static <C extends Credentials> C track(@NonNull Node node, @CheckForNull
}

/**
* Track the usage of credentials in a specific build
*
* Track the usage of credentials in a specific node.
* Would be used for example when launching an agent.
* @param node the node to tag the fingerprint
* @param credentials the credentials to fingerprint.
* @param <C> the credentials type.
Expand All @@ -1461,8 +1461,8 @@ public static <C extends Credentials> List<C> trackAll(@NonNull Node node, C...
}

/**
* Track the usage of credentials in a specific build
*
* Track the usage of credentials in a specific node.
* Would be used for example when launching an agent.
* @param node the node to tag the fingerprint
* @param credentials the credentials to fingerprint.
* @param <C> the credentials type.
Expand Down Expand Up @@ -1540,7 +1540,8 @@ public static <C extends Credentials> List<C> trackAll(@NonNull Item item, C...
}

/**
* Track the usage of credentials in a specific build
* Track the usage of credentials in a specific item but not associated with a specific build, for example SCM
* polling.
*
* @param item the item to tag the fingerprint against
* @param credentials the credentials to fingerprint.
Expand Down

0 comments on commit d20ac24

Please sign in to comment.