All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brooklyn.catalog.internal.CatalogClasspathDto Maven / Gradle / Ivy

package brooklyn.catalog.internal;

import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

import brooklyn.catalog.internal.CatalogClasspathDo.CatalogScanningModes;

public class CatalogClasspathDto {
    
    /** whether/what to scan; defaults to 'none' */
    CatalogScanningModes scan;
    private List entries;
    
    public synchronized void addEntry(String url) {
        if (entries==null)
            entries = new CopyOnWriteArrayList();
        
        entries.add(url);
    }

    public synchronized List getEntries() {
        return entries;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy