Package microsoft.build.utilities
Class CommandLineBuilder
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.CommandLineBuilder
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
CommandLineBuilderExtension
public class CommandLineBuilder extends NetObject
The base .NET class managing Microsoft.Build.Utilities.CommandLineBuilder, Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Utilities.CommandLineBuilder
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Utilities.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Utilities.CommandLineBuilderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description CommandLineBuilder()
CommandLineBuilder(boolean quoteHyphensOnCommandLine)
CommandLineBuilder(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AppendFileNameIfNotNull(java.lang.String fileName)
void
AppendFileNameIfNotNull(ITaskItem fileItem)
void
AppendFileNamesIfNotNull(java.lang.String[] fileNames, java.lang.String delimiter)
void
AppendFileNamesIfNotNull(ITaskItem[] fileItems, java.lang.String delimiter)
void
AppendFileNamesIfNotNull(JCORefOut dupParam0, java.lang.String dupParam1)
void
AppendSwitch(java.lang.String switchName)
void
AppendSwitchIfNotNull(java.lang.String switchName, java.lang.String parameter)
void
AppendSwitchIfNotNull(java.lang.String switchName, java.lang.String[] parameters, java.lang.String delimiter)
void
AppendSwitchIfNotNull(java.lang.String switchName, ITaskItem parameter)
void
AppendSwitchIfNotNull(java.lang.String switchName, ITaskItem[] parameters, java.lang.String delimiter)
void
AppendSwitchIfNotNull(java.lang.String dupParam0, JCORefOut dupParam1, java.lang.String dupParam2)
void
AppendSwitchUnquotedIfNotNull(java.lang.String switchName, java.lang.String parameter)
void
AppendSwitchUnquotedIfNotNull(java.lang.String switchName, java.lang.String[] parameters, java.lang.String delimiter)
void
AppendSwitchUnquotedIfNotNull(java.lang.String switchName, ITaskItem parameter)
void
AppendSwitchUnquotedIfNotNull(java.lang.String switchName, ITaskItem[] parameters, java.lang.String delimiter)
void
AppendSwitchUnquotedIfNotNull(java.lang.String dupParam0, JCORefOut dupParam1, java.lang.String dupParam2)
void
AppendTextUnquoted(java.lang.String textToAppend)
static CommandLineBuilder
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoCommandLineBuilder
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getLength()
void
setJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Utilities.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Utilities.CommandLineBuilder- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommandLineBuilder
public CommandLineBuilder(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
CommandLineBuilder
public CommandLineBuilder() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
-
CommandLineBuilder
public CommandLineBuilder(boolean quoteHyphensOnCommandLine) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static CommandLineBuilder cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCommandLineBuilder
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
CommandLineBuilder
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AppendFileNameIfNotNull
public void AppendFileNameIfNotNull(ITaskItem fileItem) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
AppendFileNameIfNotNull
public void AppendFileNameIfNotNull(java.lang.String fileName) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
AppendFileNamesIfNotNull
public void AppendFileNamesIfNotNull(ITaskItem[] fileItems, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
AppendFileNamesIfNotNull
public void AppendFileNamesIfNotNull(java.lang.String[] fileNames, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
AppendFileNamesIfNotNull
public void AppendFileNamesIfNotNull(JCORefOut dupParam0, java.lang.String dupParam1) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, NotSupportedException, CultureNotFoundException
-
AppendSwitch
public void AppendSwitch(java.lang.String switchName) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendSwitchIfNotNull
public void AppendSwitchIfNotNull(java.lang.String switchName, ITaskItem parameter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, CultureNotFoundException
-
AppendSwitchIfNotNull
public void AppendSwitchIfNotNull(java.lang.String switchName, ITaskItem[] parameters, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, RegexMatchTimeoutException, CultureNotFoundException
-
AppendSwitchIfNotNull
public void AppendSwitchIfNotNull(java.lang.String switchName, java.lang.String parameter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, RegexMatchTimeoutException, CultureNotFoundException
-
AppendSwitchIfNotNull
public void AppendSwitchIfNotNull(java.lang.String switchName, java.lang.String[] parameters, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, RegexMatchTimeoutException, CultureNotFoundException
-
AppendSwitchIfNotNull
public void AppendSwitchIfNotNull(java.lang.String dupParam0, JCORefOut dupParam1, java.lang.String dupParam2) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotSupportedException, RegexMatchTimeoutException, CultureNotFoundException
-
AppendSwitchUnquotedIfNotNull
public void AppendSwitchUnquotedIfNotNull(java.lang.String switchName, ITaskItem parameter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendSwitchUnquotedIfNotNull
public void AppendSwitchUnquotedIfNotNull(java.lang.String switchName, ITaskItem[] parameters, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendSwitchUnquotedIfNotNull
public void AppendSwitchUnquotedIfNotNull(java.lang.String switchName, java.lang.String parameter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendSwitchUnquotedIfNotNull
public void AppendSwitchUnquotedIfNotNull(java.lang.String switchName, java.lang.String[] parameters, java.lang.String delimiter) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendSwitchUnquotedIfNotNull
public void AppendSwitchUnquotedIfNotNull(java.lang.String dupParam0, JCORefOut dupParam1, java.lang.String dupParam2) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException
-
AppendTextUnquoted
public void AppendTextUnquoted(java.lang.String textToAppend) throws java.lang.Throwable, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
-
getLength
public int getLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-