net.nemerosa.ontrack.ui.resource.DefaultResourceModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-ui-support Show documentation
Show all versions of ontrack-ui-support Show documentation
Ontrack module: ontrack-ui-support
package net.nemerosa.ontrack.ui.resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.Collection;
@Component
public class DefaultResourceModule implements ResourceModule {
private Collection> decorators;
@SuppressWarnings("unused")
public DefaultResourceModule() {
}
public DefaultResourceModule(Collection> decorators) {
this.decorators = decorators;
}
@Autowired(required = false)
public void setDecorators(Collection> decorators) {
this.decorators = decorators;
}
@Override
public Collection> decorators() {
return decorators;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy