Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2011-2013 BonitaSoft S.A. BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
package org.bonitasoft.engine.home;
Utility class that handles the path to the client part of the bonita home

The client part of the bonita home contains connection information to the server and can also contains working directories for client application of the bonita engine

Author(s):
Baptiste Mesta
Matthieu Chaffotte
Since:
6.0.0
public final class BonitaHomeClient extends BonitaHome {
    public static final String BONITA_HOME_CLIENT = "client";
    private String clientPath;
    public static final BonitaHomeClient INSTANCE = new BonitaHomeClient();
    private BonitaHomeClient() {
        super();
    }
    public static BonitaHomeClient getInstance() {
        return ;
    }

    

Returns:
the path to the client part of the bonita home
Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetException when bonita.home system property is not set
Since:
6.0.0
        if ( == null) {
            final StringBuilder path = new StringBuilder(getBonitaHomeFolder());
            path.append(.);
            path.append();
             = path.toString();
        }
        return ;
    }
    @Override
    protected void refresh() {
         = null;
    }
New to GrepCode? Check out our FAQ X