Examples of itemMaxAge()


Examples of org.sonatype.nexus.client.core.subsystem.repository.ProxyRepository.itemMaxAge()

    ProxyRepository repository = repositories().get(id);

    assertThat(repository.id(), is(id));
    assertThat(repository.name(), is(id));

    assertThat(repository.itemMaxAge(), is(1440));

    assertThat(repository.isExposed(), is(false));
    assertThat(repository.isAutoBlocking(), is(true));
  }
View Full Code Here

Examples of org.sonatype.nexus.client.core.subsystem.repository.maven.MavenProxyRepository.itemMaxAge()

    MavenProxyRepository repository = repositories().get(id);

    assertThat(repository.id(), is(id));
    assertThat(repository.name(), is(id));

    assertThat(repository.itemMaxAge(), is(1440));
    assertThat(repository.artifactMaxAge(), is(0));
    assertThat(repository.metadataMaxAge(), is(0));

    assertThat(repository.isExposed(), is(false));
    assertThat(repository.isBrowsable(), is(false));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.