/** * Indicates whether the requested metadata was resolved. Note that the metadata might have been successfully * resolved (from the local cache) despite {@link #getException()} indicating a transfer error while trying to * refetch the metadata from the remote repository. * * @return {@code true} if the metadata was resolved, {@code false} otherwise. * @see Metadata#getFile() */ public boolean isResolved() { return getMetadata() != null && getMetadata().getFile() != null; }
/** * Indicates whether the requested metadata was resolved. Note that the metadata might have been successfully * resolved (from the local cache) despite {@link #getException()} indicating a transfer error while trying to * refetch the metadata from the remote repository. * * @return {@code true} if the metadata was resolved, {@code false} otherwise. * @see Metadata#getFile() */ public boolean isResolved() { return getMetadata() != null && getMetadata().getFile() != null; }
/** * Indicates whether the requested metadata was resolved. Note that the metadata might have been successfully * resolved (from the local cache) despite {@link #getException()} indicating a transfer error while trying to * refetch the metadata from the remote repository. * * @return {@code true} if the metadata was resolved, {@code false} otherwise. * @see Metadata#getFile() */ public boolean isResolved() { return getMetadata() != null && getMetadata().getFile() != null; }
@Override public String toString() { return getMetadata() + ( isUpdated() ? " (updated)" : " (cached)" ); }
@Override public String toString() { return getMetadata() + ( isUpdated() ? " (updated)" : " (cached)" ); }
@Override public String toString() { return getMetadata() + ( isUpdated() ? " (updated)" : " (cached)" ); }
Versioning versioning = readVersions(session, trace, metadataResult.getMetadata(), repository, result); merge(versioning, repository, infos);