<commit_before>/**
 * Copyright (c) 2005-2007 Intalio inc.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Intalio inc. - initial API and implementation
 */

package org.intalio.tempo.deployment;

import java.io.File;
import java.io.Serializable;

/**
 * Deployed component.
 * <p>
 * This is an immutable data object returned when querying {@link DeploymentService#getDeployedAssemblies()} 
 */
public class DeployedComponent implements Serializable {
    private static final long serialVersionUID = 1L;

    final ComponentId _componentId;
    final File _componentDir;
    final String _componentManagerName;

    public DeployedComponent(ComponentId ComponentId, File componentDir, String componentManagerName) {
        _componentId = ComponentId;
        _componentDir = componentDir;
        _componentManagerName = componentManagerName;
    }
    
    public ComponentId getComponentId() {
        return _componentId;
    }
    
    public File getComponentDir() {
        return _componentDir;
    }
    
    public String getComponentManagerName() {
        return _componentManagerName;
    }
    
    public String toString() {
        return _componentId.toString();
    }

}<commit_msg>Change componentDir from File to String for remote considerations<commit_after>/**
 * Copyright (c) 2005-2007 Intalio inc.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Intalio inc. - initial API and implementation
 */

package org.intalio.tempo.deployment;

import java.io.Serializable;

/**
 * Deployed component.
 * <p>
 * This is an immutable data object returned when querying {@link DeploymentService#getDeployedAssemblies()} 
 */
public class DeployedComponent implements Serializable {
    private static final long serialVersionUID = 1L;

    final ComponentId _componentId;
    final String _componentDir;
    final String _componentManagerName;

    public DeployedComponent(ComponentId ComponentId, String componentDir, String componentManagerName) {
        _componentId = ComponentId;
        _componentDir = componentDir;
        _componentManagerName = componentManagerName;
    }
    
    public ComponentId getComponentId() {
        return _componentId;
    }
    
    public String getComponentDir() {
        return _componentDir;
    }
    
    public String getComponentManagerName() {
        return _componentManagerName;
    }
    
    public String toString() {
        return _componentId.toString();
    }

}
{'fraction_non_alphanumeric': 0.07165109034267912, 'fraction_numerical': 0.008999653859466944, 'mean_word_length': 3.385432473444613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6348606', 'n_tokens_mistral': 777, 'n_tokens_neox': 758, 'n_words': 238}