Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.jayasoft.ivy.latest
Class LatestTimeStrategy

    java.lang.Object
      fr.jayasoft.ivy.latest.AbstractLatestStrategy
          fr.jayasoft.ivy.latest.LatestTimeStrategy

All Implemented Interfaces:
  IvyAware, LatestStrategy

public class LatestTimeStrategy
extends AbstractLatestStrategy

Constructor Summary
`LatestTimeStrategy()`

Method Summary
`ArtifactInfo` | `findLatest(ArtifactInfo[] artifacts, java.util.Date date)` Finds the latest artifact among the given artifacts info.

Methods inherited from class fr.jayasoft.ivy.latest.AbstractLatestStrategy
`getIvy, getName, setIvy, setName, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### LatestTimeStrategy

    public LatestTimeStrategy()

Method Detail

### findLatest

    public ArtifactInfo findLatest(ArtifactInfo[] artifacts,
                                   java.util.Date date)

  Description copied from interface: `LatestStrategy`
  Finds the latest artifact among the given artifacts info. The definition of 'latest' depends on the strategy itself. Given artifacts info are all good candidate. If the given date is not null, then found artifact should not be later than this date.

  Parameters:
    `artifacts` -
    `date` -
  Returns:
    the latest artifact among the given ones.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD