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

org.mule.runtime.api.component.location.LocationPart Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
/*
 * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */
package org.mule.runtime.api.component.location;

import org.mule.runtime.api.component.TypedComponentIdentifier;

import java.util.Optional;

/**
 * A location part represent an specific location of a component within another component.
 *
 * @since 1.0
 */
public interface LocationPart {

  /**
   * @return the string representation of the part
   */
  String getPartPath();

  /**
   * A location part represent an specific location of a component within another component.
   *
   * @since 4.0
   */
  Optional getPartIdentifier();

  /**
   * @return the config file of the application where this component is defined, if it was defined in a config file.
   */
  Optional getFileName();

  /**
   * @return the line number in the config file of the application where this component is defined, if it was defined in a config file.
   */
  Optional getLineInFile();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy