src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
public synchronized boolean createResource(String name) {
		if (name != null) {
			LockableResource existent = fromName(name);
			if (existent == null) {
				getResources().add(new LockableResource(name));
				save();
				return true;
			}
		}
		return false;
	}
/**
	 * Creates the resource if it does not exist.
	 */
Creates the resource if it does not exist.
Creates the resource if it does not exist .
public synchronized boolean createResource(String name) {
		if (name != null) {
			LockableResource existent = fromName(name);
			if (existent == null) {
				getResources().add(new LockableResource(name));
				save();
				return true;
			}
		}
		return false;
	}
public synchronized boolean createResource ( String name ) { if ( name != null ) { LockableResource existent = fromName ( name ) ; if ( existent == null ) { getResources ( ) . add ( new LockableResource ( name ) ) ; save ( ) ; return true ; } } return false ; }
Creates the resource if it does not exist.
Creates the resource if it does not exist .