Package microsoft.build.utilities
Class FlatTrackingData
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.utilities.FlatTrackingData
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class FlatTrackingData extends NetObject
The base .NET class managing Microsoft.Build.Utilities.FlatTrackingData, 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.FlatTrackingData
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.StringassemblyFullNameFully assembly qualified name: Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.Build.Utilities.v4.0static java.lang.StringclassNameQualified class name: Microsoft.Build.Utilities.FlatTrackingDatastatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FlatTrackingData()FlatTrackingData(java.lang.Object instance)Internal constructor.FlatTrackingData(ITaskItem[] tlogFiles, boolean skipMissingFiles)FlatTrackingData(ITaskItem[] tlogFiles, ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc)FlatTrackingData(ITaskItem[] tlogFiles, DateTime missingFileTimeUtc)FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, boolean skipMissingFiles)FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, DateTime missingFileTimeUtc)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlatTrackingDatacast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoFlatTrackingData, a cast assert is made to check if types are compatible.booleanFileIsExcludedFromDependencyCheck(java.lang.String fileName)static voidFinalizeTLogs(boolean trackedOperationsSucceeded, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames, ITaskItem[] trackedFilesToRemoveFromTLogs)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeDateTimeGetLastWriteTimeUtc(java.lang.String file)java.lang.StringgetNewestFileName()DateTimegetNewestFileTime()DateTimegetNewestFileTimeUtc()java.lang.StringgetNewestTLogFileName()DateTimegetNewestTLogTime()DateTimegetNewestTLogTimeUtc()java.lang.StringgetOldestFileName()DateTimegetOldestFileTime()DateTimegetOldestFileTimeUtc()booleangetSkipMissingFiles()ITaskItem[]getTlogFiles()booleangetTlogsAvailable()booleangetTreatRootMarkersAsEntries()static booleanIsUpToDate(TaskLoggingHelper Log, UpToDateCheckType upToDateCheckType, FlatTrackingData inputs, FlatTrackingData outputs)static booleanIsUpToDate(Task hostTask, UpToDateCheckType upToDateCheckType, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames)voidSaveTlog()voidSaveTlog(DependencyFilter includeInTLog)voidsetJCOInstance(JCObject instance)voidsetNewestFileName(java.lang.String NewestFileName)voidsetNewestFileTime(DateTime NewestFileTime)voidsetNewestFileTimeUtc(DateTime NewestFileTimeUtc)voidsetNewestTLogFileName(java.lang.String NewestTLogFileName)voidsetNewestTLogTime(DateTime NewestTLogTime)voidsetNewestTLogTimeUtc(DateTime NewestTLogTimeUtc)voidsetOldestFileName(java.lang.String OldestFileName)voidsetOldestFileTime(DateTime OldestFileTime)voidsetOldestFileTimeUtc(DateTime OldestFileTimeUtc)voidsetSkipMissingFiles(boolean SkipMissingFiles)voidsetTlogFiles(ITaskItem[] TlogFiles)voidsetTlogsAvailable(boolean TlogsAvailable)voidsetTreatRootMarkersAsEntries(boolean TreatRootMarkersAsEntries)voidUpdateFileEntryDetails()
-
-
-
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.FlatTrackingData- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FlatTrackingData
public FlatTrackingData(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
FlatTrackingData
public FlatTrackingData() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
FlatTrackingData
public FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, boolean skipMissingFiles) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionKeyNotFoundExceptionIOException
-
FlatTrackingData
public FlatTrackingData(ITask ownerTask, ITaskItem[] tlogFiles, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionKeyNotFoundExceptionIOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, boolean skipMissingFiles) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionKeyNotFoundExceptionIOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, ITaskItem[] tlogFilesToIgnore, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionKeyNotFoundExceptionIOException
-
FlatTrackingData
public FlatTrackingData(ITaskItem[] tlogFiles, DateTime missingFileTimeUtc) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, PathTooLongException, NotSupportedException, InvalidOperationException, NullReferenceException, OutOfMemoryException, InvalidTimeZoneException, OverflowException, RankException, KeyNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionOutOfMemoryExceptionInvalidTimeZoneExceptionOverflowExceptionRankExceptionKeyNotFoundExceptionIOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static FlatTrackingData cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoFlatTrackingData, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
FlatTrackingDatainstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
FileIsExcludedFromDependencyCheck
public boolean FileIsExcludedFromDependencyCheck(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
IsUpToDate
public static boolean IsUpToDate(Task hostTask, UpToDateCheckType upToDateCheckType, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, OutOfMemoryException, InvalidOperationException, OverflowException, KeyNotFoundException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionOverflowExceptionKeyNotFoundException
-
IsUpToDate
public static boolean IsUpToDate(TaskLoggingHelper Log, UpToDateCheckType upToDateCheckType, FlatTrackingData inputs, FlatTrackingData outputs) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, OverflowException, MissingManifestResourceException
-
GetLastWriteTimeUtc
public DateTime GetLastWriteTimeUtc(java.lang.String file) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
FinalizeTLogs
public static void FinalizeTLogs(boolean trackedOperationsSucceeded, ITaskItem[] readTLogNames, ITaskItem[] writeTLogNames, ITaskItem[] trackedFilesToRemoveFromTLogs) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, OutOfMemoryException, InvalidOperationException, OverflowException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionOutOfMemoryExceptionInvalidOperationExceptionOverflowExceptionKeyNotFoundException
-
SaveTlog
public void SaveTlog() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, OutOfMemoryException, IndexOutOfRangeException, PathTooLongException, CultureNotFoundException, NotSupportedException, RankException, InvalidOperationException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionPathTooLongExceptionCultureNotFoundExceptionNotSupportedExceptionRankExceptionInvalidOperationExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionFormatException
-
SaveTlog
public void SaveTlog(DependencyFilter includeInTLog) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, PathTooLongException, CultureNotFoundException, NotSupportedException, RankException, NullReferenceException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException
- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionOutOfMemoryExceptionPathTooLongExceptionCultureNotFoundExceptionNotSupportedExceptionRankExceptionNullReferenceExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityException
-
UpdateFileEntryDetails
public void UpdateFileEntryDetails() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, InvalidTimeZoneException, NotSupportedException, OverflowException
-
getSkipMissingFiles
public boolean getSkipMissingFiles() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSkipMissingFiles
public void setSkipMissingFiles(boolean SkipMissingFiles) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTlogsAvailable
public boolean getTlogsAvailable() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTlogsAvailable
public void setTlogsAvailable(boolean TlogsAvailable) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTreatRootMarkersAsEntries
public boolean getTreatRootMarkersAsEntries() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setTreatRootMarkersAsEntries
public void setTreatRootMarkersAsEntries(boolean TreatRootMarkersAsEntries) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getTlogFiles
public final ITaskItem[] getTlogFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTlogFiles
public void setTlogFiles(ITaskItem[] TlogFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNewestFileTime
public DateTime getNewestFileTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedException
-
setNewestFileTime
public void setNewestFileTime(DateTime NewestFileTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestFileTimeUtc
public DateTime getNewestFileTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestFileTimeUtc
public void setNewestFileTimeUtc(DateTime NewestFileTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestTLogTime
public DateTime getNewestTLogTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedException
-
setNewestTLogTime
public void setNewestTLogTime(DateTime NewestTLogTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestTLogTimeUtc
public DateTime getNewestTLogTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setNewestTLogTimeUtc
public void setNewestTLogTimeUtc(DateTime NewestTLogTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getOldestFileTime
public DateTime getOldestFileTime() throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedException
-
setOldestFileTime
public void setOldestFileTime(DateTime OldestFileTime) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getOldestFileTimeUtc
public DateTime getOldestFileTimeUtc() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOldestFileTimeUtc
public void setOldestFileTimeUtc(DateTime OldestFileTimeUtc) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, SecurityException, IOException, InvalidOperationException, NotSupportedException, OverflowException
-
getNewestFileName
public java.lang.String getNewestFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setNewestFileName
public void setNewestFileName(java.lang.String NewestFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getNewestTLogFileName
public java.lang.String getNewestTLogFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setNewestTLogFileName
public void setNewestTLogFileName(java.lang.String NewestTLogFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getOldestFileName
public java.lang.String getOldestFileName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setOldestFileName
public void setOldestFileName(java.lang.String OldestFileName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-