@Test void nullNamespaceThrowsIllegalArgumentException() { WithNamespaceBuilder builder = ArchivaNamespace.withRepository( repository ).withAsset( asset ); assertThrows( IllegalArgumentException.class, ( ) -> builder.withNamespace( null ) ); }
public static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ) { return new Builder( ).withRepository( repository ); }
ArchivaNamespace extends BaseContentItem implements Namespace { public static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ) { return new Builder( ).withRepository( repository ); } }
ArchivaNamespace extends BaseContentItem implements Namespace { public static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ) { return new Builder( ).withRepository( repository ); } private  ArchivaNamespace( ); }
ArchivaNamespace extends BaseContentItem implements Namespace { public static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ) { return new Builder( ).withRepository( repository ); } private  ArchivaNamespace( ); @Override String getId( ); @Override List<String> getNamespacePath( ); static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ); @Override boolean equals( Object o ); @Override int hashCode( ); @Override String toString( ); }
ArchivaNamespace extends BaseContentItem implements Namespace { public static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ) { return new Builder( ).withRepository( repository ); } private  ArchivaNamespace( ); @Override String getId( ); @Override List<String> getNamespacePath( ); static WithAssetBuilder<WithNamespaceBuilder> withRepository( ManagedRepositoryContent repository ); @Override boolean equals( Object o ); @Override int hashCode( ); @Override String toString( );  }